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

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Dec 22 16:34:06 CET 2010


Author: nerville
Date: 2010-12-22 16:34:06 +0100 (Wed, 22 Dec 2010)
New Revision: 11881

Modified:
   trunk/src/common/widget/Widget_MyMonitoredDocuments.class.php
Log:
use div warning if no documents

Modified: trunk/src/common/widget/Widget_MyMonitoredDocuments.class.php
===================================================================
--- trunk/src/common/widget/Widget_MyMonitoredDocuments.class.php	2010-12-22 15:03:47 UTC (rev 11880)
+++ trunk/src/common/widget/Widget_MyMonitoredDocuments.class.php	2010-12-22 15:34:06 UTC (rev 11881)
@@ -39,7 +39,7 @@
         $result=db_query_params('select DISTINCT groups.group_name, docdata_vw.group_id from groups, docdata_vw, docdata_monitored_docman where docdata_monitored_docman.doc_id = docdata_vw.docid and groups.group_id = docdata_vw.group_id and docdata_monitored_docman.user_id = $1',array(user_getid()));
         $rows=db_numrows($result);
         if (!$result || $rows < 1) {
-            $html_my_monitored_documents .= '<p><b>' . _("You are not monitoring any documents.") . '</b></p><p>' . _("If you monitor documents, you will be sent new update in the form of an email.") . '</p><p>' . _("You can monitor documents by clicking on the appropriate icon action in the directory itself.") . '</p>';
+            $html_my_monitored_documents .= '<div class="warning">' . _("You are not monitoring any documents.") . '</div><p>' . _("If you monitor documents, you will be sent new update in the form of an email.") . '</p><p>' . _("You can monitor documents by clicking on the appropriate icon action in the directory itself.") . '</p>';
         } else {
             $request =& HTTPRequest::instance();
             $html_my_monitored_documents .= '<table style="width:100%">';




More information about the Fusionforge-commits mailing list