[Fusionforge-commits] r6861 - in trunk/gforge/www: include themes/gforge themes/gforge-simple-theme themes/lite themes/ultralite

Roland Mas lolando at libremir.placard.fr.eu.org
Sun Feb 1 15:34:14 CET 2009


Author: lolando
Date: 2009-02-01 15:34:14 +0100 (Sun, 01 Feb 2009)
New Revision: 6861

Modified:
   trunk/gforge/www/include/Layout.class.php
   trunk/gforge/www/themes/gforge-simple-theme/Theme.class.php
   trunk/gforge/www/themes/gforge/Theme.class.php
   trunk/gforge/www/themes/lite/Theme.class.php
   trunk/gforge/www/themes/ultralite/Theme.class.php
Log:
Only display the software name and version on the home page; other pages show just the logo at the bottom-right

Modified: trunk/gforge/www/include/Layout.class.php
===================================================================
--- trunk/gforge/www/include/Layout.class.php	2009-02-01 14:16:52 UTC (rev 6860)
+++ trunk/gforge/www/include/Layout.class.php	2009-02-01 14:34:14 UTC (rev 6861)
@@ -14,7 +14,6 @@
  */
  
 require_once $gfcommon.'include/constants.php';
-require_once $gfcommon.'include/FusionForge.class.php';
 require_once $gfwww.'search/include/SearchManager.class.php';
 
 class Layout extends Error {
@@ -270,16 +269,9 @@
 
 <!-- PLEASE LEAVE "Powered By FusionForge" on your site -->
 <br />
-<center>
+<div align="right">
 <a href="http://fusionforge.org/"><img src="<?php echo util_make_url ('/images/pow-fusionforge.png'); ?>" alt="Powered By FusionForge" border="0" /></a>
-<br />
-<?php
-			$forge = new FusionForge() ;
-		printf (_('This site is running %1$s version %2$s'),
-			$forge->software_name,
-			$forge->software_version) ;
-?>
-</center>
+</div>
 
 <?php
 	global $sys_show_source;

Modified: trunk/gforge/www/themes/gforge/Theme.class.php
===================================================================
--- trunk/gforge/www/themes/gforge/Theme.class.php	2009-02-01 14:16:52 UTC (rev 6860)
+++ trunk/gforge/www/themes/gforge/Theme.class.php	2009-02-01 14:34:14 UTC (rev 6861)
@@ -1,7 +1,6 @@
 <?php
 
 require_once $gfwww.'include/Layout.class.php';
-require_once $gfcommon.'include/FusionForge.class.php';
 
 define('THEME_DIR', util_make_url ('/themes/gforge'));
 
@@ -218,18 +217,10 @@
  
 <!-- PLEASE LEAVE "Powered By FusionForge" on your site -->
 <br />
-<center>
+<div align="right">
 <a href="http://fusionforge.org/"><img src="<?php echo util_make_url ('/images/pow-fusionforge.png'); ?>" alt="Powered By FusionForge" border="0" /></a>
-<br />
-<?php
-		    $forge = new FusionForge() ;
-	    printf (_('This site is running %1$s version %2$s'),
-		    $forge->software_name,
-		    $forge->software_version) ;
-?>
+</div>
 
-</center>
-
 <?php
 global $sys_show_source;
 if ($sys_show_source) {

Modified: trunk/gforge/www/themes/gforge-simple-theme/Theme.class.php
===================================================================
--- trunk/gforge/www/themes/gforge-simple-theme/Theme.class.php	2009-02-01 14:16:52 UTC (rev 6860)
+++ trunk/gforge/www/themes/gforge-simple-theme/Theme.class.php	2009-02-01 14:34:14 UTC (rev 6861)
@@ -14,7 +14,6 @@
  */
 
 require_once $gfwww.'search/include/SearchManager.class.php';
-require_once $gfcommon.'include/FusionForge.class.php';
 
 class Theme extends Error {
 
@@ -214,13 +213,6 @@
 	src="<?php echo util_make_url ('/images/pow-fusionforge.png'); ?>"
 	alt="Powered By FusionForge"
 	border="0" /></a>
-<br />
-<?php
-		    $forge = new FusionForge() ;
-	    printf (_('This site is running %1$s version %2$s'),
-		    $forge->software_name,
-		    $forge->software_version) ;
-?>
 </div>
 <?php
 global $sys_show_source;

Modified: trunk/gforge/www/themes/lite/Theme.class.php
===================================================================
--- trunk/gforge/www/themes/lite/Theme.class.php	2009-02-01 14:16:52 UTC (rev 6860)
+++ trunk/gforge/www/themes/lite/Theme.class.php	2009-02-01 14:34:14 UTC (rev 6861)
@@ -8,7 +8,6 @@
  *
  * @version   $Id$
  */
-require_once $gfcommon.'include/FusionForge.class.php';
 
 class Theme extends Layout {
 
@@ -174,15 +173,9 @@
 </div> <!-- end of content -->
 <!-- PLEASE LEAVE "Powered By FusionForge" on your site -->
 <br />
-<center>
+<div align="right">
 <a href="http://fusionforge.org/"><img src="<?php echo util_make_url ('/images/pow-fusionforge.png'); ?>" alt="Powered By FusionForge" border="0" /></a>
-<?php
-		    $forge = new FusionForge() ;
-	    printf (_('This site is running %1$s version %2$s'),
-		    $forge->software_name,
-		    $forge->software_version) ;
-?>
-</center>
+</div>
 
 </body>
 </html>

Modified: trunk/gforge/www/themes/ultralite/Theme.class.php
===================================================================
--- trunk/gforge/www/themes/ultralite/Theme.class.php	2009-02-01 14:16:52 UTC (rev 6860)
+++ trunk/gforge/www/themes/ultralite/Theme.class.php	2009-02-01 14:34:14 UTC (rev 6861)
@@ -1,7 +1,5 @@
 <?php
 
-require_once $gfcommon.'include/FusionForge.class.php';
-
 class Theme extends Layout {
 	/**
 	 * Theme() - Constructor
@@ -143,15 +141,9 @@
 		<!-- end main body row -->
 		<!-- PLEASE LEAVE "Powered By FusionForge" on your site -->
 		<br />
-		<center>
+		<div align="right">
 		<a href="http://fusionforge.org/">Powered By FusionForge</a><br />
-<?php
-			$forge = new FusionForge() ;
-		printf (_('This site is running %1$s version %2$s'),
-			$forge->software_name,
-			$forge->software_version) ;
-?>
-		</center>
+		</div>
 <?php		
 		global $sys_show_source;
 		if ($sys_show_source) {




More information about the Fusionforge-commits mailing list