plugins/SpecialPageFuncs.php
changeset 73 0a74676a2f2f
parent 69 63638a42cee9
child 83 80facec76d9f
equal deleted inserted replaced
72:bda11e521e8a 73:0a74676a2f2f
   355   global $db, $session, $paths, $template, $plugins; // Common objects
   355   global $db, $session, $paths, $template, $plugins; // Common objects
   356   $template->header();
   356   $template->header();
   357   if(file_exists(ENANO_ROOT.'/GPL'))
   357   if(file_exists(ENANO_ROOT.'/GPL'))
   358   {
   358   {
   359     echo '<p>The following text represents the license that the <a href="'.makeUrlNS('Special', 'About_Enano').'">Enano</a> content management system is under. To make it easier to read, the text has been wiki-formatted; in no other way has it been changed.</p>';
   359     echo '<p>The following text represents the license that the <a href="'.makeUrlNS('Special', 'About_Enano').'">Enano</a> content management system is under. To make it easier to read, the text has been wiki-formatted; in no other way has it been changed.</p>';
   360     echo RenderMan::render( htmlspecialchars ( file_get_contents ( ENANO_ROOT . '/GPL' ) ) );
   360     echo RenderMan::render( file_get_contents ( ENANO_ROOT . '/GPL' ) );
   361   }
   361   }
   362   else
   362   else
   363   {
   363   {
   364     echo '<p>It appears that the file "GPL" is missing from your Enano installation. You may find a wiki-formatted copy of the GPL at: <a href="http://enanocms.org/GPL">http://enanocms.org/GPL</a>.</p>';
   364     echo '<p>It appears that the file "GPL" is missing from your Enano installation. You may find a wiki-formatted copy of the GPL at: <a href="http://enanocms.org/GPL">http://enanocms.org/GPL</a>.</p>';
   365   }
   365   }