Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_official / html / modules / ns-addstory [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 29 Jul 2002 12:27:04 | postnuke_official/html/modules/ns-addstory | admin.php,1.46.2.9,1.46.2.10 | Andreas Krapohl |
| fix for ml-datedisplay | |||
Update of /home/cvsroot/postnuke_official/html/modules/ns-addstory
In directory ns7.hostnuke.net:/tmp/cvs-serv8323/postnuke_official/html/modules/ns-addstory
Modified Files:
Tag: PostNuke_71
admin.php
Log Message:
fix for ml-datedisplay
Index: admin.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/ns-addstory/Attic/admin.php,v
retrieving revision 1.46.2.9
retrieving revision 1.46.2.10
diff -C2 -d -r1.46.2.9 -r1.46.2.10
*** admin.php 26 Jul 2002 20:30:49 -0000 1.46.2.9
--- admin.php 29 Jul 2002 12:27:02 -0000 1.46.2.10
***************
*** 1369,1374 ****
if ($alanguage=='') $lang[$alanguage]=""._ALL."";
echo "</td><td align=\"center\"><font class=\"pn-normal\">$lang[$alanguage]</font>\n"; /* ML added column to display the language */
! $timestamp = ereg_replace(" ", "@", $timestamp);
! echo "</td><td align=\"right\" nowrap><font class=\"pn-normal\"> $timestamp </font></td></tr>\n";
$dummy++;
$result->MoveNext();
--- 1369,1376 ----
if ($alanguage=='') $lang[$alanguage]=""._ALL."";
echo "</td><td align=\"center\"><font class=\"pn-normal\">$lang[$alanguage]</font>\n"; /* ML added column to display the language */
! //$timestamp = ereg_replace(" ", "@", $timestamp);
! $formatted_date = ml_ftime(_DATETIMELONG, $dbconn->UnixTimestamp($timestamp));
!
! echo "</td><td align=\"right\" nowrap><font class=\"pn-normal\"> $formatted_date </font></td></tr>\n";
$dummy++;
$result->MoveNext();
***************
*** 1492,1498 ****
while(list($qid,$subject,$timestamp,$alanguage) = $result->fields) {
echo "<table><tr><td valign=\"top\">\n";
echo "<p><font class=\"pn-normal\">[ <a class=\"pn-normal\" href=\"$currentFile?module=".$GLOBALS['module']
! ."&op=${opPrefix}DisplayStory&qid=$qid\">$subject</a> ][ $alanguage ][ $timestamp ] -- </p></font>";
echo "</td><td>\n";
echo myTextForm("$currentFile?module=".$GLOBALS['module']."&op=${opPrefix}DeleteStory&qid=$qid&authid=".pnSecGenAuthKey()."", _DELETE);
--- 1494,1502 ----
while(list($qid,$subject,$timestamp,$alanguage) = $result->fields) {
+ $formatted_date = ml_ftime(_DATETIMELONG, $dbconn->UnixTimestamp($timestamp));
+
echo "<table><tr><td valign=\"top\">\n";
echo "<p><font class=\"pn-normal\">[ <a class=\"pn-normal\" href=\"$currentFile?module=".$GLOBALS['module']
! ."&op=${opPrefix}DisplayStory&qid=$qid\">$subject</a> ][ $alanguage ][ $formatted_date ] -- </p></font>";
echo "</td><td>\n";
echo myTextForm("$currentFile?module=".$GLOBALS['module']."&op=${opPrefix}DeleteStory&qid=$qid&authid=".pnSecGenAuthKey()."", _DELETE);
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |