[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/adm/style/ -> permissions.js (summary)

(no description)

File Size: 300 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 12 functions

  display_checkboxes()
  set_opacity()
  toggle_opacity()
  reset_opacity()
  get_radio_status()
  set_colours()
  init_colours()
  swap_options()
  mark_options()
  mark_one_option()
  reset_role()
  set_role_settings()

Functions
Functions that are not part of a class:

display_checkboxes(status)   X-Ref
Hide and show all checkboxes
status = true (show boxes), false (hide boxes)


set_opacity(e, value)   X-Ref
Change opacity of element
e = element
value = 0 (hidden) till 10 (fully visible)


toggle_opacity(block_id)   X-Ref
Reset the opacity and checkboxes
block_id = id of the element that needs to be toggled


reset_opacity(status, except_id)   X-Ref
Reset the opacity and checkboxes
value = 0 (checked) and 1 (unchecked)
except_id = id of the element not to hide


get_radio_status(index, rb)   X-Ref
Check whether we have a full radiobutton row of true
index = offset for the row of inputs (0 == first row, 1 == second, 2 == third),
rb = array of radiobuttons


set_colours(id, init, quick)   X-Ref
Set tab colours
id = panel the tab needs to be set for,
init = initialising on open,
quick = If no calculation needed, this contains the colour


init_colours(block_id)   X-Ref
Initialise advanced tab colours on first load
block_id = block that is opened


swap_options(pmask, fmask, cat, adv, view)   X-Ref
Show/hide option panels
value = suffix for ID to show
adv = we are opening advanced permissions
view = called from view permissions


mark_options(id, s)   X-Ref
Mark all radio buttons in one panel
id = table ID container, s = status ['y'/'u'/'n']


mark_one_option(id, field_name, s)   X-Ref
No description

reset_role(id)   X-Ref
Reset role dropdown field to Select role... if an option gets changed


set_role_settings(role_id, target_id)   X-Ref
Load role and set options accordingly




Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1