ich warte dann auf den snapshot...
na wie auch immer
so nebenbei....
include.con_edit_form.php
Code: Alles auswählen
$tmp2_created = $tmp_created[8].$tmp_created[9].".".$tmp_created[5].$tmp_created[6].".".$tmp_created[0].$tmp_created[1].$tmp_created[2].$tmp_created[3]." ".$tmp_created[11].$tmp_created[12].$tmp_created[13].$tmp_created[14].$tmp_created[15].$tmp_created[16].$tmp_created[17].$tmp_created[18];
$tmp2_lastmodified = $tmp_lastmodified[8].$tmp_lastmodified[9].".".$tmp_lastmodified[5].$tmp_lastmodified[6].".".$tmp_lastmodified[0].$tmp_lastmodified[1].$tmp_lastmodified[2].$tmp_lastmodified[3]." ".$tmp_lastmodified[11].$tmp_lastmodified[12].$tmp_lastmodified[13].$tmp_lastmodified[14].$tmp_lastmodified[15].$tmp_lastmodified[16].$tmp_lastmodified[17].$tmp_lastmodified[18];
$tmp2_published = $tmp_published[8].$tmp_published[9].".".$tmp_published[5].$tmp_published[6].".".$tmp_published[0].$tmp_published[1].$tmp_published[2].$tmp_published[3]." ".$tmp_published[11].$tmp_published[12].$tmp_published[13].$tmp_published[14].$tmp_published[15].$tmp_published[16].$tmp_published[17].$tmp_published[18];
$tmp2_datestart = $tmp_datestart[8].$tmp_datestart[9].".".$tmp_datestart[5].$tmp_datestart[6].".".$tmp_datestart[0].$tmp_datestart[1].$tmp_datestart[2].$tmp_datestart[3];
$tmp2_dateend = $tmp_dateend[8].$tmp_dateend[9].".".$tmp_dateend[5].$tmp_dateend[6].".".$tmp_dateend[0].$tmp_dateend[1].$tmp_dateend[2].$tmp_dateend[3];
ist doch nicht euer ernst ?
ach ja, $tmp2_datestart und $tmp2_dateend werden gar nicht verwendet...
wie wäre es denn mit ergänzung von
Code: Alles auswählen
$dateformat = getEffectiveSetting("backend", "timeformat", "Y-m-d H:i:s");
(oder ist das jetzt system ?) zu beginn der datei
und zb bei
Code: Alles auswählen
$tmp2_created = date($dateformat,strtotime($tmp_created));
verwenden... die anderen nach dem selben muster...
wobei $tmp2_* auch nicht wirklich benötigt werden...
wäre dann ne spur lesbarer...