[Fusionforge-commits] r17904 - in trunk/src/www: frs/reporting project/stats tracker/reporting

Marc-Etienne VARGENAU vargenau at fusionforge.org
Fri Sep 6 15:42:51 CEST 2013


Author: vargenau
Date: 2013-09-06 15:42:51 +0200 (Fri, 06 Sep 2013)
New Revision: 17904

Modified:
   trunk/src/www/frs/reporting/downloads.php
   trunk/src/www/project/stats/index.php
   trunk/src/www/tracker/reporting/index.php
Log:
Start and end dates must be different: it is an error

Modified: trunk/src/www/frs/reporting/downloads.php
===================================================================
--- trunk/src/www/frs/reporting/downloads.php	2013-09-06 08:06:10 UTC (rev 17903)
+++ trunk/src/www/frs/reporting/downloads.php	2013-09-06 13:42:51 UTC (rev 17904)
@@ -118,7 +118,7 @@
 $data = $report->getData();
 
 if ($start == $end) {
-    echo '<p class="warning">'._('Start and end dates must be different').'</p>';
+    echo '<p class="error">'._('Start and end dates must be different').'</p>';
 } elseif (count($data) == 0) {
 	echo '<p class="information">';
 	echo _('There have been no downloads for this package.');

Modified: trunk/src/www/project/stats/index.php
===================================================================
--- trunk/src/www/project/stats/index.php	2013-09-06 08:06:10 UTC (rev 17903)
+++ trunk/src/www/project/stats/index.php	2013-09-06 13:42:51 UTC (rev 17904)
@@ -116,7 +116,7 @@
 <p>
 <?php
 if ($start == $end) {
-	echo '<p class="warning">'._('Start and end dates must be different').'</p>';
+	echo '<p class="error">'._('Start and end dates must be different').'</p>';
 } else {
 	if (!report_actgraph('project', $SPAN, $start, $end, $group_id, $area)) {
 		echo '<p class="error">'._('Error during graphic computation.');

Modified: trunk/src/www/tracker/reporting/index.php
===================================================================
--- trunk/src/www/tracker/reporting/index.php	2013-09-06 08:06:10 UTC (rev 17903)
+++ trunk/src/www/tracker/reporting/index.php	2013-09-06 13:42:51 UTC (rev 17904)
@@ -139,7 +139,7 @@
 </form>
 <?php
 if ($start == $end) {
-	echo '<p class="warning">'._('Start and end dates must be different').'</p>';
+	echo '<p class="error">'._('Start and end dates must be different').'</p>';
 } else {
 	if ($atid) {
 		if (!$area || $area == 'activity') {




More information about the Fusionforge-commits mailing list