gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/mail index.php,1.8,1.9


From: gsmet
Subject: [Gforge-commits] gforge/www/mail index.php,1.8,1.9
Date: Wed, 31 Mar 2004 11:11:05 -0600

Update of /cvsroot/gforge/gforge/www/mail
In directory db.perdue.net:/tmp/cvs-serv28854/www/mail

Modified Files:
        index.php 
Log Message:
* fixed some localization problems
* fixed french translation
* fixed ML creation cronjob
* updated ML UI


Index: index.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/mail/index.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- index.php   26 Mar 2004 17:15:54 -0000      1.8
+++ index.php   31 Mar 2004 17:11:02 -0000      1.9
@@ -3,7 +3,7 @@
  * GForge Mailing Lists Facility
  *
  * Portions Copyright 1999-2001 (c) VA Linux Systems
- * The rest Copyright 2003 (c) Guillaume Smet
+ * The rest Copyright 2003-2004 (c) Guillaume Smet - Open Wide
  *
  * @version $Id$
  */
@@ -46,7 +46,7 @@
        
        $mlCount = count($mlArray);
        if($mlCount == 0) {
-               echo '<h1>'.$Language->getText('mail', 'no_list_found', 
array($Group->getPublicName())) .'</h1>';
+               echo '<p>'.$Language->getText('mail', 'no_list_found', 
array($Group->getPublicName())) .'</p>';
                echo '<p>'.$Language->getText('mail', 'help_to_request').'</p>';
                mail_footer(array());
                exit;
@@ -63,24 +63,23 @@
 
        for ($j = 0; $j < $mlCount; $j++) {
                $currentList =& $mlArray[$j];
+               echo '<tr '. $HTML->boxGetAltRowStyle($j) .'>';
                if ($currentList->isError()) {
-                       echo '<tr '. $HTML->boxGetAltRowStyle($j) .'><td 
colspan="2">';
-                       echo $currentList->getErrorMessage();
-                       echo '</td></tr>';
-               } else if($currentList->getStatus()!='2') {
-                       echo '<tr '. $HTML->boxGetAltRowStyle($j) .'><td 
colspan="2">';
-                       echo html_image('ic/cfolder15.png', '15', '13', 
array('border' => '0')).' &nbsp; ';
-                       echo $currentList->getName(). " is not Activated yet.";
-                       echo '</td></tr>';
+                       echo '<td 
colspan="2">'.$currentList->getErrorMessage().'</td></tr>';
+               } else if($currentList->getStatus() != 
MAIL__MAILING_LIST_IS_CREATED) {
+                       echo '<td width="60%">'.
+                               
'<strong>'.$currentList->getName().'</strong><br />'.
+                               
htmlspecialchars($currentList->getDescription()). '</td>'.
+                               '<td width="40%" 
align="center">'.$Language->getText('mail_common', 
'list_not_activated').'</td></tr>';
                } else {
-                       echo '<tr '. $HTML->boxGetAltRowStyle($j) . '><td 
width="60%">'.
-                               '<a href="'.$currentList->getArchivesUrl().'">' 
.
-                               html_image('ic/cfolder15.png', '15', '13', 
array('border' => '0')).' &nbsp; '.
-                               $Language->getText('mail', 'archives', 
array($currentList->getName())).'</a><br />'.
-                               '&nbsp;'.  
htmlspecialchars($currentList->getDescription()). '</td>'.
+                       echo '<td width="60%">'.
+                               '<strong><a 
href="'.$currentList->getArchivesUrl().'">' .
+                               $Language->getText('mail', 'archives', 
array($currentList->getName())).'</a></strong><br />'.
+                               
htmlspecialchars($currentList->getDescription()). '</td>'.
                                '<td width="40%" align="center"><a 
href="'.$currentList->getExternalInfoUrl().'">'.$Language->getText('mail', 
'external_administration').'</a>'.
-                               '</td></tr>';
+                               '</td>';
                }
+               echo '</tr>';
        }
 
        echo $HTML->listTableBottom();





reply via email to

[Prev in Thread] Current Thread [Next in Thread]