includes/template.php
changeset 555 ac4c6a7f01d8
parent 538 a43f9d646dc7
child 557 26479224936a
equal deleted inserted replaced
554:e87390b1f9b0 555:ac4c6a7f01d8
   921       var USER_LEVEL_GUEST = ' . USER_LEVEL_GUEST . ';
   921       var USER_LEVEL_GUEST = ' . USER_LEVEL_GUEST . ';
   922       var USER_LEVEL_MEMBER = ' . USER_LEVEL_MEMBER . ';
   922       var USER_LEVEL_MEMBER = ' . USER_LEVEL_MEMBER . ';
   923       var USER_LEVEL_CHPREF = ' . USER_LEVEL_CHPREF . ';
   923       var USER_LEVEL_CHPREF = ' . USER_LEVEL_CHPREF . ';
   924       var USER_LEVEL_MOD = ' . USER_LEVEL_MOD . ';
   924       var USER_LEVEL_MOD = ' . USER_LEVEL_MOD . ';
   925       var USER_LEVEL_ADMIN = ' . USER_LEVEL_ADMIN . ';
   925       var USER_LEVEL_ADMIN = ' . USER_LEVEL_ADMIN . ';
       
   926       var pref_disable_js_fx = ' . ( @$session->user_extra['disable_js_fx'] == 1 ? '1' : '0' ) . ';
   926       var editNotice = \'' . ( (getConfig('wiki_edit_notice')=='1') ? str_replace("\n", "\\\n", RenderMan::render(getConfig('wiki_edit_notice_text'))) : '' ) . '\';
   927       var editNotice = \'' . ( (getConfig('wiki_edit_notice')=='1') ? str_replace("\n", "\\\n", RenderMan::render(getConfig('wiki_edit_notice_text'))) : '' ) . '\';
   927       var prot = ' . ( ($paths->page_protected && !$session->get_permissions('even_when_protected')) ? 'true' : 'false' ) .'; // No, hacking this var won\'t work, it\'s re-checked on the server
   928       var prot = ' . ( ($paths->page_protected && !$session->get_permissions('even_when_protected')) ? 'true' : 'false' ) .'; // No, hacking this var won\'t work, it\'s re-checked on the server
   928       var ENANO_SPECIAL_CREATEPAGE = \''. makeUrl($paths->nslist['Special'].'CreatePage') .'\';
   929       var ENANO_SPECIAL_CREATEPAGE = \''. makeUrl($paths->nslist['Special'].'CreatePage') .'\';
   929       var ENANO_CREATEPAGE_PARAMS = \'_do=&pagename='. $urlname_clean .'&namespace=' . $paths->namespace . '\';
   930       var ENANO_CREATEPAGE_PARAMS = \'_do=&pagename='. $urlname_clean .'&namespace=' . $paths->namespace . '\';
   930       var ENANO_SPECIAL_CHANGESTYLE = \''. makeUrlNS('Special', 'ChangeStyle') .'\';
   931       var ENANO_SPECIAL_CHANGESTYLE = \''. makeUrlNS('Special', 'ChangeStyle') .'\';