includes/template.php
changeset 13 fdd6b9dd42c3
parent 1 fe660c52c48f
child 15 ad5986a53197
equal deleted inserted replaced
12:c96a9b56f16c 13:fdd6b9dd42c3
   520     }
   520     }
   521     if ( $a && $session->get_permissions('read') && $paths->page_exists && $paths->namespace != 'Special' && $paths->namespace != 'Admin' )
   521     if ( $a && $session->get_permissions('read') && $paths->page_exists && $paths->namespace != 'Special' && $paths->namespace != 'Admin' )
   522     {
   522     {
   523       // label at start
   523       // label at start
   524       $label = $this->makeParserText($tplvars['toolbar_label']);
   524       $label = $this->makeParserText($tplvars['toolbar_label']);
   525       $label->assign_vars(array('TEXT' => 'password:'));
   525       $label->assign_vars(array('TEXT' => 'page password:'));
   526       $t0 = $label->run();
   526       $t0 = $label->run();
   527       
   527       
   528       $menubtn->assign_vars(array(
   528       $menubtn->assign_vars(array(
   529           'FLAGS' => 'onclick="void(ajaxSetPassword()); return false;" title="Require a password in order for this page to be viewed"',
   529           'FLAGS' => 'onclick="void(ajaxSetPassword()); return false;" title="Require a password in order for this page to be viewed"',
   530           'HREF'  => '#',
   530           'HREF'  => '#',