Tweaked touch_time as part of Admin update.

git-svn-id: http://svn.automattic.com/wordpress/trunk@43 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-05-23 07:27:58 +00:00
parent d66fc5fd1a
commit 7d9d847945
1 changed files with 3 additions and 3 deletions

View File

@ -626,8 +626,8 @@ function dropdown_categories($blog_ID=1) {
function touch_time($edit=1) {
global $month, $postdata, $time_difference;
echo $postdata['Date'];
echo '<br /><br /><input type="checkbox" class="checkbox" name="edit_date" value="1" id="timestamp" /><label for="timestamp"> Edit timestamp</label><br />';
// echo $postdata['Date'];
echo '<p><input type="checkbox" class="checkbox" name="edit_date" value="1" id="timestamp" /> <label for="timestamp">Edit timestamp</label><br />';
$time_adj = time() + ($time_difference * 3600);
$jj = ($edit) ? mysql2date('d', $postdata['Date']) : date('d', $time_adj);
@ -654,7 +654,7 @@ function touch_time($edit=1) {
<input type="text" name="aa" value="<?php echo $aa ?>" size="4" maxlength="5" /> @
<input type="text" name="hh" value="<?php echo $hh ?>" size="2" maxlength="2" /> :
<input type="text" name="mn" value="<?php echo $mn ?>" size="2" maxlength="2" /> :
<input type="text" name="ss" value="<?php echo $ss ?>" size="2" maxlength="2" />
<input type="text" name="ss" value="<?php echo $ss ?>" size="2" maxlength="2" /> </p>
<?php
}