plugins/SpecialPageFuncs.php
changeset 36 425261984266
parent 23 320acf077276
child 38 ed06961e54dd
equal deleted inserted replaced
35:efae425e9b98 36:425261984266
   315       <tr>
   315       <tr>
   316         <td class="row2" colspan="2">
   316         <td class="row2" colspan="2">
   317         <table border="0" style="margin: 0 auto; background: none; width: 100%;" cellpadding="5">
   317         <table border="0" style="margin: 0 auto; background: none; width: 100%;" cellpadding="5">
   318             <tr>
   318             <tr>
   319             <td style="text-align: center;">
   319             <td style="text-align: center;">
   320                 <a href="http://www.enanocms.org/" onclick="window.open(this.href); return false;" style="background: none; padding: 0;">
   320                 <a href="http://enanocms.org/" onclick="window.open(this.href); return false;" style="background: none; padding: 0;">
   321                   <img alt="Powered by Enano"
   321                   <img alt="Powered by Enano"
   322                        src="<?php echo scriptPath; ?>/images/about-powered-enano.png"
   322                        src="<?php echo scriptPath; ?>/images/about-powered-enano.png"
   323                        onmouseover="this.src='<?php echo scriptPath; ?>/images/about-powered-enano-hover.png';"
   323                        onmouseover="this.src='<?php echo scriptPath; ?>/images/about-powered-enano-hover.png';"
   324                        onmouseout="this.src='<?php echo scriptPath; ?>/images/about-powered-enano.png';"
   324                        onmouseout="this.src='<?php echo scriptPath; ?>/images/about-powered-enano.png';"
   325                        style="border-width: 0px;" width="88" height="31" />
   325                        style="border-width: 0px;" width="88" height="31" />
   337               </td>
   337               </td>
   338             </tr>
   338             </tr>
   339           </table>
   339           </table>
   340         </td>
   340         </td>
   341       </tr>
   341       </tr>
   342       <tr><td style="width: 100px;" class="row1"><a href="http://www.enanocms.org">Enano</a> version:</td><td class="row1"><?php echo enano_version(true); ?></td></tr>
   342       <tr><td style="width: 100px;" class="row1"><a href="http://enanocms.org">Enano</a> version:</td><td class="row1"><?php echo enano_version(true); ?></td></tr>
   343       <tr><td style="width: 100px;" class="row2">Web server:</td><td class="row2"><?php if(isset($_SERVER['SERVER_SOFTWARE'])) echo $_SERVER['SERVER_SOFTWARE']; else echo 'Unable to determine web server software.'; ?></td></tr>
   343       <tr><td style="width: 100px;" class="row2">Web server:</td><td class="row2"><?php if(isset($_SERVER['SERVER_SOFTWARE'])) echo $_SERVER['SERVER_SOFTWARE']; else echo 'Unable to determine web server software.'; ?></td></tr>
   344       <tr><td style="width: 100px;" class="row1">Server platform:</td><td class="row1"><?php echo $platform; ?></td></tr>
   344       <tr><td style="width: 100px;" class="row1">Server platform:</td><td class="row1"><?php echo $platform; ?></td></tr>
   345       <tr><td style="width: 100px;" class="row2"><a href="http://www.php.net/">PHP</a> version:</td><td class="row2"><?php echo PHP_VERSION; ?></td></tr>
   345       <tr><td style="width: 100px;" class="row2"><a href="http://www.php.net/">PHP</a> version:</td><td class="row2"><?php echo PHP_VERSION; ?></td></tr>
   346       <tr><td style="width: 100px;" class="row1"><a href="http://www.mysql.com/">MySQL</a> version:</td><td class="row1"><?php echo mysql_get_server_info($db->_conn); ?></td></tr>
   346       <tr><td style="width: 100px;" class="row1"><a href="http://www.mysql.com/">MySQL</a> version:</td><td class="row1"><?php echo mysql_get_server_info($db->_conn); ?></td></tr>
   347     </table>
   347     </table>
   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( htmlspecialchars ( 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://www.enanocms.org/GPL">http://www.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   }
   366   $template->footer();
   366   $template->footer();
   367 }
   367 }
   368 
   368 
   369 ?>
   369 ?>