index.php
changeset 160 87a988ca4ff4
parent 142 ca9118d9c0f2
child 166 d53cc29308f4
child 168 bee40e39321b
equal deleted inserted replaced
159:f7e83b6db3be 160:87a988ca4ff4
   139           <input type="submit" name="_preview" value="Preview changes" />
   139           <input type="submit" name="_preview" value="Preview changes" />
   140           <input type="submit" name="_revert" value="Revert changes" />
   140           <input type="submit" name="_revert" value="Revert changes" />
   141           <input type="submit" name="_cancel" value="Cancel" />
   141           <input type="submit" name="_cancel" value="Cancel" />
   142         </form>
   142         </form>
   143       ';
   143       ';
       
   144       if ( getConfig('wiki_edit_notice') == '1' )
       
   145       {
       
   146         $notice = getConfig('wiki_edit_notice_text');
       
   147         echo RenderMan::render($notice);
       
   148       }
   144       $template->footer();
   149       $template->footer();
   145       break;
   150       break;
   146     case 'viewsource':
   151     case 'viewsource':
   147       $template->header();
   152       $template->header();
   148       $text = RenderMan::getPage($paths->cpage['urlname_nons'], $paths->namespace, 0, false, false, false, false);
   153       $text = RenderMan::getPage($paths->cpage['urlname_nons'], $paths->namespace, 0, false, false, false, false);