When dedecms (zhimeng) creates a new model, the update time cannot be displayed when you click Edit. dedecms zhimeng
When dedecms (zhimeng) creates a new model, the update time cannot be displayed when you click Edit. After analyzing the code, it is found that the htm file lacks js code, which is actually very simple, I don't think dede will make mistakes either.
Solution: the default topic in the background is dede.
It is/dede/templates/archives_edit.htm.
<Td width = "250"> <? Php $ nowtime = GetDateTimeMk (time ()); echo "<input name = \" pubdate \ "value = \" $ nowtime \ "type = \" text \ "id = \" pubdate \ "style = \" width: 200 \ ">";?> </Td>
Add
<Script language = "javascript" type = "text/javascript"> Calendar. setup ({inputField: "pubdate", ifFormat: "% Y-% m-% d % H: % M: % S", showsTime: true, timeFormat: "24"}); </script>
You can.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.