[Fusionforge-commits] r10139 - trunk/src/common/widget

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Jun 28 19:04:35 CEST 2010


Author: aljeux
Date: 2010-06-28 19:04:35 +0200 (Mon, 28 Jun 2010)
New Revision: 10139

Modified:
   trunk/src/common/widget/Widget.class.php
   trunk/src/common/widget/Widget_MyBookmarks.class.php
   trunk/src/common/widget/Widget_MyLatestSvnCommits.class.php
   trunk/src/common/widget/Widget_MyMonitoredForums.class.php
   trunk/src/common/widget/Widget_MyMonitoredFp.class.php
   trunk/src/common/widget/Widget_ProjectLatestFileReleases.class.php
   trunk/src/common/widget/Widget_ProjectPublicAreas.class.php
   trunk/src/common/widget/Widget_Rss.class.php
Log:
xhtml fixes

Modified: trunk/src/common/widget/Widget.class.php
===================================================================
--- trunk/src/common/widget/Widget.class.php	2010-06-28 17:04:27 UTC (rev 10138)
+++ trunk/src/common/widget/Widget.class.php	2010-06-28 17:04:35 UTC (rev 10139)
@@ -82,7 +82,7 @@
 	}
 	function getPreferencesForm($layout_id, $owner_id, $owner_type) {
 		$prefs  = '';
-		$prefs .= '<form method="POST" action="/widgets/widget.php?owner='. $owner_type.$owner_id .'&amp;action=update&amp;name['. $this->id .']='. $this->getInstanceId() .'&amp;content_id='. $this->getInstanceId() .'&amp;layout_id='. $layout_id .'">';
+		$prefs .= '<form method="post" action="/widgets/widget.php?owner='. $owner_type.$owner_id .'&amp;action=update&amp;name['. $this->id .']='. $this->getInstanceId() .'&amp;content_id='. $this->getInstanceId() .'&amp;layout_id='. $layout_id .'">';
 		$prefs .= '<fieldset><legend>'. _("Preferences") .'</legend>';
 		$prefs .= $this->getPreferences();
 		$prefs .= '<br />';
@@ -331,7 +331,7 @@
 		return '/widgets/widget.php?owner='. $owner_type.$owner_id .'&action=ajax&name['. $this->id .']='. $this->getInstanceId();
 	}
 	function getIframeUrl($owner_id, $owner_type) {
-		return '/widgets/widget.php?owner='. $owner_type.$owner_id .'&action=iframe&name['. $this->id .']='. $this->getInstanceId();
+		return '/widgets/widget.php?owner='. $owner_type.$owner_id .'&amp;action=iframe&amp;name['. $this->id .']='. $this->getInstanceId();
 	}
 }
 ?>

Modified: trunk/src/common/widget/Widget_MyBookmarks.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyBookmarks.class.php	2010-06-28 17:04:27 UTC (rev 10138)
+++ trunk/src/common/widget/Widget_MyBookmarks.class.php	2010-06-28 17:04:35 UTC (rev 10139)
@@ -65,7 +65,7 @@
         return $html_my_bookmarks;
     }
     function getDescription() {
-        return _("List your favorite bookmarks (your favorite pages in Codendi or external).<br>Note that in many cases Codendi uses URL with enough embedded information to bookmark sophisticated items like Software Map browsing, typical search in your project Bug or Task database, etc . <br>Bookmarked items can be edited which means that both the title of the bookmark and its destination URL can be modified.");
+        return _("List your favorite bookmarks (your favorite pages in Codendi or external).<br />Note that in many cases Codendi uses URL with enough embedded information to bookmark sophisticated items like Software Map browsing, typical search in your project Bug or Task database, etc. <br />Bookmarked items can be edited which means that both the title of the bookmark and its destination URL can be modified.");
     }
 }
 ?>

Modified: trunk/src/common/widget/Widget_MyLatestSvnCommits.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyLatestSvnCommits.class.php	2010-06-28 17:04:27 UTC (rev 10138)
+++ trunk/src/common/widget/Widget_MyLatestSvnCommits.class.php	2010-06-28 17:04:35 UTC (rev 10139)
@@ -86,7 +86,7 @@
     function getPreferences() {
         $prefs  = '';
         $prefs .= _("Maximum number of SVN commits to display per project");
-        $prefs .= ' <input name="nb_svn_commits" type="text" size="2" maxlenght="3" value="'.user_get_preference('my_latests_svn_commits_nb_display').'">';
+        $prefs .= ' <input name="nb_svn_commits" type="text" size="2" maxlenght="3" value="'.user_get_preference('my_latests_svn_commits_nb_display').'" />';
         return $prefs;
     }
     function updatePreferences(&$request) {

Modified: trunk/src/common/widget/Widget_MyMonitoredForums.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyMonitoredForums.class.php	2010-06-28 17:04:27 UTC (rev 10138)
+++ trunk/src/common/widget/Widget_MyMonitoredForums.class.php	2010-06-28 17:04:35 UTC (rev 10139)
@@ -133,7 +133,7 @@
 	    return 'forums';
     }
     function getDescription() {
-	    return _("List forums that you are currently monitoring, by project. <br>To cancel any of the monitored items just click on the trash icon next to the item label.");;
+	    return _("List forums that you are currently monitoring, by project.<br />To cancel any of the monitored items just click on the trash icon next to the item label.");
     }
     function isAjax() {
 	    return true;

Modified: trunk/src/common/widget/Widget_MyMonitoredFp.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyMonitoredFp.class.php	2010-06-28 17:04:27 UTC (rev 10138)
+++ trunk/src/common/widget/Widget_MyMonitoredFp.class.php	2010-06-28 17:04:35 UTC (rev 10139)
@@ -119,7 +119,7 @@
         return 'frs';
     }
     function getDescription() {
-        return _("List packages that you are currently monitoring, by project.<br>To cancel any of the monitored items just click on the trash icon next to the item label.");;
+        return _("List packages that you are currently monitoring, by project.<br />To cancel any of the monitored items just click on the trash icon next to the item label.");
     }
     function isAjax() {
         return true;

Modified: trunk/src/common/widget/Widget_ProjectLatestFileReleases.class.php
===================================================================
--- trunk/src/common/widget/Widget_ProjectLatestFileReleases.class.php	2010-06-28 17:04:27 UTC (rev 10138)
+++ trunk/src/common/widget/Widget_ProjectLatestFileReleases.class.php	2010-06-28 17:04:35 UTC (rev 10139)
@@ -166,7 +166,7 @@
         return 'File-Release';
     }
     function getDescription() {
-        return _(' List the most recent packages available for download along with their revision. <br>A Release Notes icon allows you to see the latest changes and developers comments associated with this revision. <br>Then comes the monitor icon, selecting this icon will cause this package to be monitored for you. <br>Anytime the project development team posts a new release, you will be automatically notified via e-mail. All monitored File Releases are listed in your Personal Page and can be canceled from this page or from the main page of the file release system.');
+		return _(' List the most recent packages available for download along with their revision. <br />A Release Notes icon allows you to see the latest changes and developers comments associated with this revision.<br />Then comes the monitor icon, selecting this icon will cause this package to be monitored for you.<br />Anytime the project development team posts a new release, you will be automatically notified via e-mail. All monitored File Releases are listed in your Personal Page and can be canceled from this page or from the main page of the file release system.');
     }
 }
 

Modified: trunk/src/common/widget/Widget_ProjectPublicAreas.class.php
===================================================================
--- trunk/src/common/widget/Widget_ProjectPublicAreas.class.php	2010-06-28 17:04:27 UTC (rev 10138)
+++ trunk/src/common/widget/Widget_ProjectPublicAreas.class.php	2010-06-28 17:04:35 UTC (rev 10139)
@@ -198,7 +198,7 @@
 		return true;
 	}
 	function getDescription() {
-		return _('List all available services for this project along with some information next to it. Click on any of this item to access a service. <br>The role of this area is pretty much equivalent to the Project Main Menu at the top of the screen except that it shows additional information about each of the service (e.g. total number of open bugs, tasks, ...)');
+		return _('List all available services for this project along with some information next to it. Click on any of this item to access a service.<br />The role of this area is pretty much equivalent to the Project Main Menu at the top of the screen except that it shows additional information about each of the service (e.g. total number of open bugs, tasks, ...)');
 	}
 
 

Modified: trunk/src/common/widget/Widget_Rss.class.php
===================================================================
--- trunk/src/common/widget/Widget_Rss.class.php	2010-06-28 17:04:27 UTC (rev 10138)
+++ trunk/src/common/widget/Widget_Rss.class.php	2010-06-28 17:04:35 UTC (rev 10139)
@@ -96,7 +96,7 @@
 	function getInstallPreferences() {
 		$prefs  = '';
 		$prefs .= '<table>';
-		$prefs .= '<tr><td>Url:</td><td><input type="text" class="textfield_medium" name="rss[url]" value="'. _("http://search.twitter.com/search.atom?q=codendi&show_user=1") .'" /></td></tr>';
+		$prefs .= '<tr><td>Url:</td><td><input type="text" class="textfield_medium" name="rss[url]" value="'. _("http://search.twitter.com/search.atom?q=codendi&amp;show_user=1") .'" /></td></tr>';
 		$prefs .= '</table>';
 		return $prefs;
 	}




More information about the Fusionforge-commits mailing list