Dedecms5.5
Step 1
Add
<SCRIPT src = "JS/webcalendar. js" type = "text/JavaScript"> </SCRIPT>
Step 2
Open the generate control page
Include/customfields. func. php
Step 3
109 rows
$ Innertext = "<input name = \" $ fieldname \ "value = \" $ nowtime \ "type = \" text \ "id = \" $ fieldname \ "style = \ "width: 250px \ "/> ";
Change to (add event)
$ Innertext = "<input name = \" $ fieldname \ "value = \" $ nowtime \ "type = \" text \ "id = \" $ fieldname \ "style = \ "width: 250px \ "onclick = \" SelectDate (this, 'yyyy-mm-dd hh: mm: ss', 80, 0); \ "/> ";
466 rows
$ Innertext = "<input name = \" $ fieldname \ "value = \" $ nowtime \ "type = \" text \ "id = \" $ fieldname \ "style = \ "width: 250px \ "/> ";
Change to (add event)
$ Innertext = "<input name = \" $ fieldname \ "value = \" $ nowtime \ "type = \" text \ "id = \" $ fieldname \ "style = \ "width: 250px \ "onclick = \" SelectDate (this, 'yyyy-mm-dd hh: mm: ss', 80, 0); \ "/> ";
Step 4
Saved
Effect display
Http://www.wyzcw.com/member/archives_sg_add.php? Channelid =-8
Dedecms5.6
Step 1
Add
<SCRIPT src = "templets/JS/webcalendar. js" type = "text/JavaScript"> </SCRIPT>
Step 2
Open the generate control page
Include/customfields. func. php
Step 3
115 rows
$ Innertext = "<input name = \" $ fieldname \ "value = \" $ nowtime \ "type = \" text \ "id = \" $ fieldname \ "style = \ "width: 250px \ "class = \" intxt \ "/> ";
Change to (add event)
$ Innertext = "<input name = \" $ fieldname \ "value = \" $ nowtime \ "type = \" text \ "id = \" $ fieldname \ "style = \ "width: 250px \ "class = \" intxt \ "onclick = \" SelectDate (this, 'yyyy-mm-dd hh: mm: ss', 80, 0); \ "/> ";
472 rows
$ Innertext = "<input name = \" $ fieldname \ "value = \" $ nowtime \ "type = \" text \ "id = \" $ fieldname \ "style = \ "width: 250px \ "class = \" intxt \ "/> ";
Change to (add event)
$ Innertext = "<input name = \" $ fieldname \ "value = \" $ nowtime \ "type = \" text \ "id = \" $ fieldname \ "style = \ "width: 250px \ "class = \" intxt \ "onclick = \" SelectDate (this, 'yyyy-mm-dd hh: mm: ss', 80, 0); \ "/> ";
Step 4
Saved