Revision 912
Added by Matthias almost 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 13 | 13 | ------------------------------------- 2.8.0 ------------------------------------- | 
| 14 | 14 | 17-Jan-2009 Matthias Gallas | 
| 15 | 15 | ! changed handling of post_date in news modul (thanks to susigross) | 
| 16 | + added hour and minute support to default published_when field in news modul | |
| 16 | 17 | 13-Jan-2009 Christian Sommer | 
| 17 | 18 | - removed the obsolete Codepress framework from the include folder | 
| 18 | 19 | + added Javascript syntax highlighting framework EditArea as replacement for Codepress | 
| trunk/wb/modules/news/modify_post.php | ||
|---|---|---|
| 115 | 115 | <tr> | 
| 116 | 116 | <td><?php echo $TEXT['PUBL_START_DATE']; ?>:</td> | 
| 117 | 117 | <td> | 
| 118 | 	<input type="text" id="publishdate" name="publishdate" value="<?php if($fetch_content['published_when']==0) print date($jscal_format, strtotime((date('Y-m-d')))); else print date($jscal_format, $fetch_content['published_when']);?>" style="width: 120px;" />
 | |
| 118 | 	<input type="text" id="publishdate" name="publishdate" value="<?php if($fetch_content['published_when']==0) print date($jscal_format, strtotime((date('Y-m-d H:i')))); else print date($jscal_format, $fetch_content['published_when']);?>" style="width: 120px;" />
 | |
| 119 | 119 | <img src="<?php echo ADMIN_URL ?>/images/clock_16.png" id="publishdate_trigger" style="cursor: pointer;" title="<?php echo $TEXT['CALENDAR']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" /> | 
| 120 | 120 | <img src="<?php echo ADMIN_URL ?>/images/clock_del_16.png" style="cursor: pointer;" title="<?php echo $TEXT['DELETE_DATE']; ?>" onmouseover="this.style.background='lightgrey';" onmouseout="this.style.background=''" onclick="document.modify.publishdate.value=''" /> | 
| 121 | 121 | </td> | 
Also available in: Unified diff
added hour and minute support to default published_when field in news modul