gforge-commits
[Top][All Lists]
Advanced

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

[Gforge-commits] gforge/www/news index.php, 1.9, 1.10 submit.php, 1.16,


From: gsmet
Subject: [Gforge-commits] gforge/www/news index.php, 1.9, 1.10 submit.php, 1.16, 1.17
Date: Sat, 16 Oct 2004 15:28:02 -0500

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

Modified Files:
        index.php submit.php 
Log Message:
localized news

Index: index.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/news/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- index.php   8 Oct 2004 23:17:31 -0000       1.9
+++ index.php   16 Oct 2004 20:27:59 -0000      1.10
@@ -29,7 +29,7 @@
 require_once('www/news/news_utils.php');
 require_once('common/forum/Forum.class');
 
-news_header(array('title'=>'News','pagename'=>'news','sectionvals'=>array(group_getname($group_id))));
+news_header(array('title'=>$Language->getText('news', 
'title'),'pagename'=>'news','sectionvals'=>array(group_getname($group_id))));
 
 echo $Language->getText('news', 'choose');
 
@@ -76,7 +76,7 @@
         if ($more) {
                echo '<br /><a href="'
                      .'?group_id='.$group_id.'&amp;limit='.$limit
-                     .'&amp;offset='. (string)($offset+$limit) .'">[Older 
headlines]</a>';
+                     .'&amp;offset='. (string)($offset+$limit) 
.'">['.$Language->getText('news', 'olderheadlines').']</a>';
         }
 
         echo '

Index: submit.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/news/submit.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- submit.php  8 Oct 2004 23:17:31 -0000       1.16
+++ submit.php  16 Oct 2004 20:27:59 -0000      1.17
@@ -84,16 +84,17 @@
        /*
                Show the submit form
        */
-       
news_header(array('title'=>'News','pagename'=>'news_submit','titlevals'=>array(group_getname($group_id))));
+       news_header(array('title'=>$Language->getText('news', 
'title'),'pagename'=>'news_submit','titlevals'=>array(group_getname($group_id))));
 
        $jsfunc = notepad_func();
+       $group = group_get_object($group_id);
        echo '
                <p>
                '. $Language->getText('news_submit', 'post_blurb', 
$GLOBALS['sys_name']) .'</p>' . $jsfunc . 
                '<p>
                <form action="'.$PHP_SELF.'" method="post">
                <input type="hidden" name="group_id" value="'.$group_id.'" />
-               <strong>'.$Language->getText('news_submit', 'forproject').': '. 
group_getname($group_id) .'</strong>
+               <strong>'.$Language->getText('news_submit', 'forproject').': 
'.$group->getPublicName().'</strong>
                <input type="hidden" name="post_changes" value="y" /></p>
                <p>
                <strong>'.$Language->getText('news_submit', 
'subject').':</strong>'.utils_requiredField().'<br />
@@ -101,7 +102,7 @@
                <p>
                <strong>'.$Language->getText('news_submit', 
'details').':</strong>'.notepad_button('document.forms[1].details').utils_requiredField().'<br
 />
                <textarea name="details" rows="5" cols="50" 
wrap="soft"></textarea><br />
-               <input type="submit" name="submit" 
value="'.$Language->getText('news_submit', 'submit').'" />
+               <input type="submit" name="submit" 
value="'.$Language->getText('general', 'submit').'" />
                </form></p>';
 
        news_footer(array());





reply via email to

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