[Fusionforge-commits] r6860 - in trunk/gforge: deb-specific debian www

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


Author: lolando
Date: 2009-02-01 15:16:52 +0100 (Sun, 01 Feb 2009)
New Revision: 6860

Removed:
   trunk/gforge/deb-specific/index_std.php
Modified:
   trunk/gforge/debian/rules
   trunk/gforge/www/index_std.php
Log:
Gettextised home page, and removed deb-specific version

Deleted: trunk/gforge/deb-specific/index_std.php
===================================================================
--- trunk/gforge/deb-specific/index_std.php	2009-02-01 13:21:00 UTC (rev 6859)
+++ trunk/gforge/deb-specific/index_std.php	2009-02-01 14:16:52 UTC (rev 6860)
@@ -1,25 +0,0 @@
-<!-- whole page table -->
-<table width="100%" cellpadding="5" cellspacing="0" border="0">
-<tr><td width="65%" valign="top">
-<div align="center"><img src="<?php echo util_make_url ('/images/fusionforge-resized.png') ?>" /></div>
-<?php
-	 printf(_('<p>%1$s is a <b>free service to <a href="http://www.opensource.org/">Open Source</a> developers</b> offering easy access to the best in CVS, mailing lists, bug tracking, message boards/forums, task management, site hosting, permanent file archival, full backups, and total web-based administration.</p><p><b>Site Feedback and Participation</b></p><p>In order to get the most out of %1$s, you\'ll need to <a href="%2$s">register as a site user</a>. This will allow you to participate fully in all we have to offer. You may of course browse the site without registering, but will not have access to participate fully.</p><p><b>Set Up Your Own Project</b></p><p><a href="%2$s">Register as a site user</a>, then <a href="%3$s">Login</a> and finally, <a href="%4$s">Register Your Project</a>.</p><p>Thanks... and enjoy the site.</p>'),
-		$GLOBALS['sys_name'],
-		util_make_url ('/account/register.php'), 
-		util_make_url ('/account/login.php'), 
-		util_make_url ('/register/')) ;
-
-echo $HTML->boxTop(_('Latest News'));
-echo news_show_latest($sys_news_group,5,true,false,false,5);
-echo $HTML->boxBottom();
-?>
-
-</td>
-
-<td width="35%" valign="top">
-
-<?php
-echo show_features_boxes();
-?>
-
-</td></tr></table>

Modified: trunk/gforge/debian/rules
===================================================================
--- trunk/gforge/debian/rules	2009-02-01 13:21:00 UTC (rev 6859)
+++ trunk/gforge/debian/rules	2009-02-01 14:16:52 UTC (rev 6860)
@@ -126,8 +126,7 @@
 	cp -r www $(CURDIR)/debian/gforge-web-apache2/usr/share/gforge/
 	rm $(CURDIR)/debian/gforge-web-apache2/usr/share/gforge/www/plugins/mediawiki
 	rm $(CURDIR)/debian/gforge-web-apache2/usr/share/gforge/www/plugins/*
-	install -m 644 deb-specific/index_std.php $(CURDIR)/debian/gforge-web-apache2/etc/gforge/custom/
-	rm $(CURDIR)/debian/gforge-web-apache2/usr/share/gforge/www/index_std.php
+	install -m 644 www/index_std.php $(CURDIR)/debian/gforge-web-apache2/etc/gforge/custom/
 	find $(CURDIR)/debian/gforge-web-apache2 -name \*.uu -type f | xargs rm -f
 	rm -f $(CURDIR)/debian/gforge-web-apache2/usr/share/gforge/www/themes/gforge/COPYING
 	find $(CURDIR)/debian/gforge-web-apache2/usr/share/gforge/www -type d -exec chmod 0755 {} \;

Modified: trunk/gforge/www/index_std.php
===================================================================
--- trunk/gforge/www/index_std.php	2009-02-01 13:21:00 UTC (rev 6859)
+++ trunk/gforge/www/index_std.php	2009-02-01 14:16:52 UTC (rev 6860)
@@ -1,41 +1,40 @@
+<?php
+require_once $gfcommon.'include/FusionForge.class.php';
+?>
 <!-- whole page table -->
 <table width="100%" cellpadding="5" cellspacing="0" border="0">
 <tr><td width="65%" valign="top">
-<h3>FusionForge helps you manage the entire development life cycle</h3>
+	  <h3><?php print _('FusionForge helps you manage the entire development life cycle'); ?></h3>
 <p>
-FusionForge has tools to help your team collaborate, like message forums 
-and mailing lists; tools to create and control access to Source Code 
-Management repositories like CVS and Subversion. FusionForge automatically 
-creates a repository and controls access to it depending on the role 
-settings of the project.
+
+	  <?php print _('FusionForge has tools to help your team collaborate, like message forums and mailing lists; tools to create and control access to Source Code Management repositories like CVS and Subversion. FusionForge automatically creates a repository and controls access to it depending on the role settings of the project.'); ?>
+
 </p>
-<p>
-Additional Features:
-</p>
+<p><?php print _('Additional Features:'); ?></p>
 <ul>
-	<li>Manage File Releases.</li>
-	<li>Document Management.</li>
-	<li>News announcements.</li>
-	<li>Surveys for users and admins.</li>
-	<li>Issue tracking with "unlimited" numbers of categories, text fields, etc.</li>
-	<li>Task management.</li>
-	<li>Wiki (using MediaWiki or phpWiki).</li>
-	<li>A powerful plugin system to add new features.</li>
+<li><?php print _('Manage File Releases.'); ?></li>
+<li><?php print _('Document Management.'); ?></li>
+<li><?php print _('News announcements.'); ?></li>
+<li><?php print _('Surveys for users and admins.'); ?></li>
+<li><?php print _('Issue tracking with "unlimited" numbers of categories, text fields, etc.'); ?></li>
+<li><?php print _('Task management.'); ?></li>
+<li><?php print _('Wiki (using MediaWiki or phpWiki).'); ?></li>
+<li><?php print _('A powerful plugin system to add new features.'); ?></li>
 </ul>
-<h3>What's new in FusionForge 4.7</h3>
+<h3><?php print _("What's new in FusionForge 4.7"); ?></h3>
 <p>
 <ul>
-	<li>A new name to avoid confusion with proprietary versions of GForge.</li>
-    <li>Support for php5.</li>
-    <li>Support for postgresql 8.x.</li>
-    <li>Translations are now managed by gettext.</li>
-    <li>Support for several configurations running on the same code.</li>
-    <li>Imroved security, now PHP register_globals safe.</li>
-    <li>Available as full install CD.</li>
-    <li>New wiki plugins (using mediawiki or phpwiki).</li> 
-	<li>New online_help plugin.</li>
-	<li>New phpwebcalendar plugin.</li>
-	<li>New project hierarchy plugin/</li>
+<li><?php print _('A new name to avoid confusion with proprietary versions of GForge.'); ?></li>
+<li><?php print _('Support for PHP5.'); ?></li>
+<li><?php print _('Support for PostgreSQL 8.x.'); ?></li>
+<li><?php print _('Translations are now managed by gettext.'); ?></li>
+<li><?php print _('Support for several configurations running on the same code.'); ?></li>
+<li><?php print _('Improved security, no need for PHP register_globals.'); ?></li>
+<li><?php print _('Available as full install CD.'); ?></li>
+<li><?php print _('New wiki plugins (using MediaWiki or phpWiki).'); ?></li> 
+<li><?php print _('New online_help plugin.'); ?></li>
+<li><?php print _('New phpwebcalendar plugin.'); ?></li>
+<li><?php print _('New project hierarchy plugin.'); ?></li>
 </ul>
 </p>
 <?php
@@ -49,27 +48,39 @@
 <td width="35%" valign="top">
 <?php echo $HTML->boxTop('Getting FusionForge'); ?>
 <strong>Download:</strong><br />
-<a href="http://fusionforge.org/project/showfiles.php?group_id=6">FusionForge archive</a><br />
-<a href="http://postgresql.org/">PostgreSQL</a><br />
-<a href="http://www.php.net/">PHP</a><br />
-<a href="http://www.apache.org/">Apache</a><br />
-<a href="http://www.gnu.org/software/mailman/">Mailman</a> <i>(optional)</i><br />
+<?php print _('<a href="http://fusionforge.org/project/showfiles.php?group_id=6">FusionForge archive</a>'); ?><br />
+<?php print _('<a href="http://postgresql.org/">PostgreSQL</a>'); ?><br />
+<?php print _('<a href="http://www.php.net/">PHP</a>'); ?><br />
+<?php print _('<a href="http://www.apache.org/">Apache</a>'); ?><br />
+<?php print _('<a href="http://www.gnu.org/software/mailman/">Mailman</a> <i>(optional)</i>'); ?><br />
 <p />
-<strong>Get Help</strong><br />
-<a href="http://fusionforge.org/mail/?group_id=6"><strong>Mailing lists</strong></a><br />
-<a href="http://embed.mibbit.com/?server=irc.freenode.net&channel=%23fusionforge"><strong>Online Help</strong></a><br />
+<strong><?php print _('Get Help'); ?></strong><br />
+<a href="http://fusionforge.org/mail/?group_id=6"><strong><?php print _('Mailing lists'); ?></strong></a><br />
+<a href="http://embed.mibbit.com/?server=irc.freenode.net&channel=%23fusionforge"><strong><?php print _('Online help via IRC'); ?></strong></a><br />
 <p />
-<strong>Contribute!</strong><br />
-<a href="http://fusionforge.org/projects/fusionforge/"><strong>FusionForge Project Page</strong></a><br />
-<a href="http://fusionforge.org/tracker/?atid=105&group_id=6&func=browse"><strong>Bug Tracker</strong></a><br />
-<a href="http://fusionforge.org/tracker/?atid=107&group_id=6&func=browse"><strong>Patch Submissions</strong></a><br />
+<strong><?php print _('Contribute!'); ?></strong><br />
+<a href="http://fusionforge.org/projects/fusionforge/"><strong><?php print _('FusionForge Project Page'); ?></strong></a><br />
+<a href="http://fusionforge.org/tracker/?atid=105&group_id=6&func=browse"><strong><?php print _('Bug Tracker'); ?></strong></a><br />
+<a href="http://fusionforge.org/tracker/?atid=107&group_id=6&func=browse"><strong><?php print _('Patch Submissions'); ?></strong></a><br />
 <p />
-<a href="http://www.debian.org/"><strong>Debian "lenny" Users</strong></a>
-can simply "apt-get install fusionforge" to get a complete FusionForge system.
-<p />
+<?php print _('Packaging for <a
+href="http://www.debian.org/"><strong>Debian</strong></a>/<a
+href="http://www.ubuntulinux.com/"><strong>Ubuntu</strong></a> and <a
+href="http://www.redhat.com/"><strong>Red Hat</strong></a>/<a
+href="http://www.fedoraproject.org/"><strong>Fedora</strong></a> is in
+progress.  Users of these systems will soon be able to "apt-get
+install fusionforge" and get a complete FusionForge system.
+'); ?><p />
 <?php
 echo $HTML->boxBottom();
 echo show_features_boxes();
 ?>
 
 </td></tr></table>
+<center>
+<?php
+			$forge = new FusionForge() ;
+		printf (_('This site is running %1$s version %2$s'),
+			$forge->software_name,
+			$forge->software_version) ;
+?>




More information about the Fusionforge-commits mailing list