Xaraya / Postnuke CVS Notices - Message

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 Notice

Directory filter : [ all ] / postnuke_official / html / modules / ns-addstory [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
29 Jul 2002 12:25:54postnuke_official/html/modules/ns-addstoryaddstory_functions.php,1.17,1.17.2.1Andreas Krapohl
 some ml-fixes for automated stories datedisplay

Update of /home/cvsroot/postnuke_official/html/modules/ns-addstory
In directory ns7.hostnuke.net:/tmp/cvs-serv8294/postnuke_official/html/modules/ns-addstory

Modified Files:
      Tag: PostNuke_71
	addstory_functions.php 
Log Message:
some ml-fixes for automated stories datedisplay 


Index: addstory_functions.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/ns-addstory/Attic/addstory_functions.php,v
retrieving revision 1.17
retrieving revision 1.17.2.1
diff -C2 -d -r1.17 -r1.17.2.1
*** addstory_functions.php	14 Mar 2002 13:49:52 -0000	1.17
--- addstory_functions.php	29 Jul 2002 12:25:51 -0000	1.17.2.1
***************
*** 231,236 ****
      }
      $date = "$tmonth $tday, $tyear @ $thour:$tmin:$tsec"; /* ML get the language from the queue table */
  	if(!$automated){
!     	echo ""._NOWIS.": $date<br><br>";
  		echo ""._HOUR.": <select name=\"hour\" class=\"pn-text\">";
  		$hour = 0;
--- 231,237 ----
      }
      $date = "$tmonth $tday, $tyear @ $thour:$tmin:$tsec"; /* ML get the language from the queue table */
+ 	$formatted_date = ml_ftime(""._DATETIMELONG."", mktime($today['hours'],$today['minutes'],$today['seconds'],$today['mon'],$today['mday'],$today['year']));
  	if(!$automated){
!     	echo ""._NOWIS.": $formatted_date<br><br>";
  		echo ""._HOUR.": <select name=\"hour\" class=\"pn-text\">";
  		$hour = 0;
***************
*** 281,288 ****
  		echo "</select>&nbsp;&nbsp;";
  		$date = getdate();
  		$year = $date['year'];
  		echo ""._YEAR.": <input type=\"text\" name=\"year\" value=\"$year\" size=\"5\" maxlength=\"4\"><br>";
  		}else{
!     	echo ""._NOWIS.": $date<br><br>";
  		echo ""._HOUR.": <select name=\"hour\" class=\"pn-text\">";
  		$xhour = 0;
--- 282,290 ----
  		echo "</select>&nbsp;&nbsp;";
  		$date = getdate();
+ 		$formatted_date = ml_ftime(""._DATETIMELONG."", mktime($date['hours'],$date['minutes'],$date['seconds'],$date['mon'],$date['mday'],$date['year']));
  		$year = $date['year'];
  		echo ""._YEAR.": <input type=\"text\" name=\"year\" value=\"$year\" size=\"5\" maxlength=\"4\"><br>";
  		}else{
!     	echo ""._NOWIS.": $formatted_date<br><br>";
  		echo ""._HOUR.": <select name=\"hour\" class=\"pn-text\">";
  		$xhour = 0;


Directory filter : [ all ] / postnuke_official / html / modules / ns-addstory [ view in CVS ]

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