Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/user/policy.php File Reference

Go to the source code of this file.

Namespaces

namespace  user

Variables

 $agree = optional_param('agree', 0, PARAM_BOOL)
 $strpolicyagreement = get_string('policyagreement')
 $strpolicyagreementclick = get_string('policyagreementclick')
 $mimetype = mimeinfo('type', $sitepolicy)
if($mimetype== 'document/unknown') $clicktoopen = '<a href="'.$sitepolicy.'" onclick="this.target=\'_blank\'">'.$strpolicyagreementclick.'</a>'
 $formcontinue = new single_button(new moodle_url('policy.php', array('agree'=>1)), get_string('yes'))
 $formcancel = new single_button(new moodle_url($CFG->wwwroot.'/login/logout.php', array('agree'=>0)), get_string('no'))

Variable Documentation

$agree = optional_param('agree', 0, PARAM_BOOL)

Definition at line 30 of file policy.php.

if ($mimetype== 'document/unknown') $clicktoopen = '<a href="'.$sitepolicy.'" onclick="this.target=\'_blank\'">'.$strpolicyagreementclick.'</a>'

Definition at line 84 of file policy.php.

$formcancel = new single_button(new moodle_url($CFG->wwwroot.'/login/logout.php', array('agree'=>0)), get_string('no'))

Definition at line 91 of file policy.php.

$formcontinue = new single_button(new moodle_url('policy.php', array('agree'=>1)), get_string('yes'))

Definition at line 90 of file policy.php.

$mimetype = mimeinfo('type', $sitepolicy)

Definition at line 77 of file policy.php.

$strpolicyagreement = get_string('policyagreement')

Definition at line 66 of file policy.php.

$strpolicyagreementclick = get_string('policyagreementclick')

Definition at line 67 of file policy.php.

 All Data Structures Namespaces Files Functions Variables Enumerations