eon
12-18-2005, 03:42 PM
When you add a picture you can choose to set a date and time.
The time goes from 0 hour to 24 hour. This must be 0 to 23 hour.
When you choose 24 hour then the image get the date/time 00-00-00 00:00.
/admin/new_image.php, row 88:
<?php
$lc = 0;
while($lc <= 24) {
if($lc < 10) { $lc = "0$lc"; }
echo "<option value='$lc'>$lc</option>";
$lc++;
}
?>
Solution:
<?php
$lc = 0;
while($lc < 24) {
if($lc < 10) { $lc = "0$lc"; }
echo "<option value='$lc'>$lc</option>";
$lc++;
}
?>
or:
<?php
$lc = 0;
while($lc <= 23) {
if($lc < 10) { $lc = "0$lc"; }
echo "<option value='$lc'>$lc</option>";
$lc++;
}
?>
The time goes from 0 hour to 24 hour. This must be 0 to 23 hour.
When you choose 24 hour then the image get the date/time 00-00-00 00:00.
/admin/new_image.php, row 88:
<?php
$lc = 0;
while($lc <= 24) {
if($lc < 10) { $lc = "0$lc"; }
echo "<option value='$lc'>$lc</option>";
$lc++;
}
?>
Solution:
<?php
$lc = 0;
while($lc < 24) {
if($lc < 10) { $lc = "0$lc"; }
echo "<option value='$lc'>$lc</option>";
$lc++;
}
?>
or:
<?php
$lc = 0;
while($lc <= 23) {
if($lc < 10) { $lc = "0$lc"; }
echo "<option value='$lc'>$lc</option>";
$lc++;
}
?>