Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GS version removal from login page
#1
Hello,

I see that this has been addressed in svn (bug is Issue 336).

Unfortunately, the modification (revision r475) also removes the version number from the footer of the admin pages. Under some circumstances, this makes it quite difficult to see what version of GS is actually installed.

When the installation has the latest version, this is reported in the Website Health Check. However, when an update is available, only the new version is reported, not the existing version.

This patch against the existing v3.1.2 file addresses this, removing the version from the login page, but not from the footer when logged in:
Code:
--- GetSimple_3.1.2/admin/template/footer.php
+++ WEBSERVER/admin/template/footer.php
@@ -14,7 +14,7 @@
                   echo '<p><a href="pages.php">'.i18n_r('PAGE_MANAGEMENT').'</a> &nbsp;&bull;&nbsp; <a href="upload.php">'.i18n_r('FILE_MANAGEMENT').'</a> &nbsp;&bull;&nbsp; <a href="theme.php">'.i18n_r('THEME_MANAGEMENT').'</a> &nbsp;&bull;&nbsp; <a href="backups.php">'.i18n_r('BAK_MANAGEMENT').'</a> &nbsp;&bull;&nbsp; <a href="plugins.php">'.i18n_r('PLUGINS_MANAGEMENT').'</a> &nbsp;&bull;&nbsp; <a href="settings.php">'.i18n_r('GENERAL_SETTINGS').'</a> &nbsp;&bull;&nbsp; <a href="support.php">'.i18n_r('SUPPORT').'</a> &nbsp;&bull;&nbsp; <a href="share.php?term='.i18n_r('SHARE').'" rel="facybox_s" >'.i18n_r('SHARE').'</a></p>';
               }
           ?>
-              <p>&copy; 2009-<?php echo date('Y'); ?> <a href="http://get-simple.info/" target="_blank" >GetSimple CMS</a> &ndash; <?php echo i18n_r('VERSION') .' '. $site_version_no; ?></p>
+              <p>&copy; 2009-<?php echo date('Y'); ?> <a href="http://get-simple.info/" target="_blank" >GetSimple CMS</a><?php if (cookie_check()) {echo '&ndash; '. i18n_r('VERSION') .' '. $site_version_no; } ?></p>
           </div>
           <div class="gslogo" >
              <a href="http://get-simple.info/" target="_blank" ><img src="template/images/getsimple_logo.gif" alt="GetSimple Content Management System" /></a>

Alternatively, the Website Health Check should show current and upgrade versions, but I haven't investigated that.
--
Nick.
Reply


Messages In This Thread
GS version removal from login page - by hameau - 2012-12-12, 20:57:28



Users browsing this thread: 1 Guest(s)