|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Variables | |
| $sort = optional_param('sort', 'username', PARAM_ALPHA) | |
| $dir = optional_param('dir', 'ASC', PARAM_ALPHA) | |
| $page = optional_param('page', 0, PARAM_INT) | |
| $perpage = optional_param('perpage', 30, PARAM_INT) | |
| $action = trim(strtolower(optional_param('action', '', PARAM_ALPHA))) | |
| if(!extension_loaded('openssl')) | $sitecontext = get_context_instance(CONTEXT_SYSTEM) |
| $sesskey = sesskey() | |
| $formerror = array() | |
| $mnethosts = $DB->get_records_menu('mnet_host', array(), 'name', 'id, name') | |
| if(array_key_exists($CFG-> mnet_localhost_id, $mnethosts)) if(!empty($action) and confirm_sesskey()) | if ($form=data_submitted() and confirm_sesskey()) |
| $warn = '' | |
| if(empty($CFG-> mnet_dispatcher_mode)||$CFG-> mnet_dispatcher_mode!== 'strict') if(!is_enabled_auth('mnet')) if(!empty($warn)) | $columns = array("username", "mnet_host_id", "access", "delete") |
| $headings = array() | |
| $string | |
| foreach($columns as $column) | $headings ['delete'] = '' |
| $acl = $DB->get_records('mnet_sso_access_control', null, "$sort $dir", '*') | |
| $aclcount = $DB->count_records('mnet_sso_access_control') | |
| if (!empty($formerror['username'])) | |
| if (!empty($formerror['mnet_host_id'])) | |
| if(!empty($formerror['accessctrl'])) | $accessmenu ['allow'] = get_string('allow', 'mnet') |
| $accessmenu ['deny'] = get_string('deny', 'mnet') | |
| foreach ($formerror as $error) | |
| if (!empty($formerror['accessctrl'])) $accessmenu['allow'] = get_string('allow', 'mnet') |
Definition at line 220 of file access_control.php.
| $accessmenu['deny'] = get_string('deny', 'mnet') |
Definition at line 221 of file access_control.php.
| $acl = $DB->get_records('mnet_sso_access_control', null, "$sort $dir", '*') |
Definition at line 156 of file access_control.php.
| $aclcount = $DB->count_records('mnet_sso_access_control') |
Definition at line 157 of file access_control.php.
| $action = trim(strtolower(optional_param('action', '', PARAM_ALPHA))) |
Definition at line 13 of file access_control.php.
| if (empty($CFG->mnet_dispatcher_mode)||$CFG->mnet_dispatcher_mode!== 'strict') if (!is_enabled_auth('mnet')) if (!empty($warn)) $columns = array("username", "mnet_host_id", "access", "delete") |
Definition at line 138 of file access_control.php.
| $dir = optional_param('dir', 'ASC', PARAM_ALPHA) |
Definition at line 10 of file access_control.php.
| $formerror = array() |
Definition at line 27 of file access_control.php.
| $headings = array() |
Definition at line 139 of file access_control.php.
Definition at line 155 of file access_control.php.
Definition at line 30 of file access_control.php.
| $page = optional_param('page', 0, PARAM_INT) |
Definition at line 11 of file access_control.php.
| $perpage = optional_param('perpage', 30, PARAM_INT) |
Definition at line 12 of file access_control.php.
Definition at line 26 of file access_control.php.
| if (!extension_loaded('openssl')) $sitecontext = get_context_instance(CONTEXT_SYSTEM) |
Definition at line 25 of file access_control.php.
| $sort = optional_param('sort', 'username', PARAM_ALPHA) |
Definition at line 9 of file access_control.php.
| $string |
array('username' => get_string('username'), 'mnet_host_id' => get_string('remotehost', 'mnet'), 'access' => get_string('accesslevel', 'mnet'), 'delete' => get_string('delete'))
Definition at line 140 of file access_control.php.
| $warn = '' |
Definition at line 124 of file access_control.php.
Definition at line 229 of file access_control.php.
| if (array_key_exists($CFG->mnet_localhost_id, $mnethosts)) if (!empty($action) and confirm_sesskey()) if($form=data_submitted() and confirm_sesskey()) |
Definition at line 83 of file access_control.php.
Definition at line 203 of file access_control.php.
| if(!empty($formerror['mnet_host_id'])) |
Definition at line 210 of file access_control.php.