|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Variables | |
| $context = get_context_instance(CONTEXT_SYSTEM) | |
| $hostid = optional_param('hostid', 0, PARAM_INT) | |
| Initialize variables. | |
| $updra = optional_param('updateregisterall', 0, PARAM_INT) | |
| if(!empty($updra)) | $adminsection = 'mnetpeers' |
| if(!extension_loaded('openssl')) if(!function_exists('curl_init')) if(!function_exists('xmlrpc_encode_request')) if(!isset($CFG-> mnet_dispatcher_mode)) | $mnet_peer = new mnet_peer() |
| $simpleform = new mnet_simple_host_form() | |
| $reviewform = null | |
| if($formdata=$reviewform-> get_data()) else | if ($reviewform->is_submitted()) |
| $hosts = mnet_get_hosts(true) | |
| $table = new html_table() | |
| $table | head = array(get_string('registerallhosts', 'mnet')) |
| $registerrow = '' | |
| $registerstr = '' | |
| $registerurl = new moodle_url('/admin/mnet/peers.php', array('updateregisterall' => 1)) | |
| $table | data |
| $table | wrap = array('nowrap', 'nowrap', 'nowrap', 'nowrap') |
| $baseurl = new moodle_url('/admin/mnet/peers.php') | |
| $deleted = array() | |
| foreach ($hosts as $host) | |
| exit | |
| $baseurl = new moodle_url('/admin/mnet/peers.php') |
| $hostid = optional_param('hostid', 0, PARAM_INT) |
| $hosts = mnet_get_hosts(true) |
| $registerurl = new moodle_url('/admin/mnet/peers.php', array('updateregisterall' => 1)) |
| if ($formdata=$simpleform->get_data()) else if ($simpleform->is_submitted()) if (!empty($hostid)) if (empty($noreviewform)&&$id=optional_param('id', 0, PARAM_INT)) else if (empty($noreviewform)&&($wwwroot=optional_param('wwwroot', '', PARAM_URL))&&($applicationid=optional_param('applicationid', 0, PARAM_INT))) $reviewform = null |
| $simpleform = new mnet_simple_host_form() |
| $table = new html_table() |
| $updra = optional_param('updateregisterall', 0, PARAM_INT) |
array( array( get_string('registerallhostsexplain', 'mnet'), ), array( $registerrow ), )
| $table head = array(get_string('registerallhosts', 'mnet')) |