GetSimple Support Forum

Full Version: GS version removal from login page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
Health check always shows version now
https://github.com/GetSimpleCMS/GetSimpleCMS/issues/331

Sorry, it wasn't listed in release notes for this milestone.