From: <par...@us...> - 2009-02-23 21:29:00
|
Update of /cvsroot/phpicalendar/phpicalendar/templates/default In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv14122/templates/default Modified Files: Tag: phpicalendar-editor edit.tpl header.tpl Log Message: Some additional progress on editor Index: edit.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/Attic/edit.tpl,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -C2 -d -r1.1.2.1 -r1.1.2.2 *** edit.tpl 10 Feb 2009 20:31:15 -0000 1.1.2.1 --- edit.tpl 23 Feb 2009 21:28:57 -0000 1.1.2.2 *************** *** 4,24 **** <head> <meta http-equiv="content-type" content="text/html;charset={CHARSET}"> ! <title>{CAL}</title> <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css"> </head> <body> <center> <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder"> <tr> ! <td align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CAL}</div></td> </tr> <tr> ! <td align="left" class="V12"> ! <div style="margin-left: 10px; margin-bottom:10px;"> ! <p><b>{L_CALENDAR}</b>: {UID}</p> ! </div> </td> </tr> </table> </center> </body> --- 4,89 ---- <head> <meta http-equiv="content-type" content="text/html;charset={CHARSET}"> ! <title>{CALNAME}</title> <link rel="stylesheet" type="text/css" href="../templates/{TEMPLATE}/default.css"> + <script type="text/javascript"> + function verify(form) { + // FIXME: Force form fields to conform to certain formats + return false; + } + </script> </head> <body> <center> + <form method="post" action="{ACTION}" onsubmit="return verify(this.form);"> <table border="0" width="430" cellspacing="0" cellpadding="0" class="calborder"> <tr> ! <td colspan="2" align="center" class="sideback"><div style="height: 17px; margin-top: 3px;" class="G10BOLD">{CALNAME} {L_CALENDAR}</div></td> </tr> <tr> ! <td style="width: 115px;" align="left" class="V12"> ! <span style="margin-left: 10px; font-weight: bold;">{L_SUMMARY}: </span> ! </td> ! <td style="width: 315px;" align="left" class="V12"> ! <input name="event_text" id="event_text" style="width: 300px;" type="text" value="{EVENT_TEXT}" /> ! </td> ! </tr> ! <tr> ! <td style="width: 115px;" align="left" class="V12"> ! <span style="margin-left: 10px; font-weight: bold;">{L_DESCRIPTION}: </span> ! </td> ! <td style="width: 315px;" align="left" class="V12"> ! <textarea name="description" id="description" style="width: 300px;">{DESCRIPTION}</textarea> ! </td> ! </tr> ! <tr> ! <td style="width: 115px;" align="left" class="V12"> ! <span style="margin-left: 10px; font-weight: bold;">{L_ORGANIZER}: </span> ! </td> ! <td style="width: 315px;" align="left" class="V12"> ! <textarea name="organizer" id="organizer" style="width: 300px;">{ORGANIZER}</textarea> ! </td> ! </tr> ! <tr> ! <td style="width: 115px;" align="left" class="V12"> ! <span style="margin-left: 10px; font-weight: bold;">{L_ATTENDEE}: </span> ! </td> ! <td style="width: 315px;" align="left" class="V12"> ! <textarea name="attendee" id="attendee" style="width: 300px;">{ATTENDEE}</textarea> ! </td> ! </tr> ! <tr> ! <td style="width: 115px;" align="left" class="V12"> ! <span style="margin-left: 10px; font-weight: bold;">{L_STATUS}: </span> ! </td> ! <td style="width: 315px;" align="left" class="V12"> ! <select name="status" id="status" style="width: 300px;">{STATUS}</select> ! </td> ! </tr> ! <tr> ! <td style="width: 115px;" align="left" class="V12"> ! <span style="margin-left: 10px; font-weight: bold;">{L_LOCATION}: </span> ! </td> ! <td style="width: 315px;" align="left" class="V12"> ! <input name="location" id="location" style="width: 300px;" type="text" value="{LOCATION}" /> ! </td> ! </tr> ! <tr> ! <td style="width: 115px;" align="left" class="V12"> ! <span style="margin-left: 10px; font-weight: bold;">{L_URL}: </span> ! </td> ! <td style="width: 315px;" align="left" class="V12"> ! <input name="url" id="url" style="width: 300px;" type="text" value="{URL}" /> ! </td> ! </tr> ! <tr> ! <td colspan="2" align="center" class="title" style="margin-top: 2px; margin-bottom: 2px; border-top: 1px solid #ccc;"> ! <input name="calnumber" id="calnumber" type="hidden" value="{CALNUMBER}" /> ! <input name="uid" id="uid" type="hidden" value="{UID}" /> ! <input name="save" id="save" type="submit" value="Save" /> ! <input name="cancel" id="cancel" type="reset" value="Cancel" onclick="window.close();" /> </td> </tr> </table> + </form> </center> </body> Index: header.tpl =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/templates/default/header.tpl,v retrieving revision 1.16.2.1 retrieving revision 1.16.2.2 diff -C2 -d -r1.16.2.1 -r1.16.2.2 *** header.tpl 10 Feb 2009 19:59:45 -0000 1.16.2.1 --- header.tpl 23 Feb 2009 21:28:57 -0000 1.16.2.2 *************** *** 20,25 **** </form> <form name="editPopupForm" id="editPopupForm" method="post" action="includes/edit.php" style="display: none;"> ! <input type="hidden" name="edit_cal" id="edit_cal" value="" /> <input type="hidden" name="edit_uid" id="edit_uid" value="" /> </form> <form name="todoPopupForm" id="todoPopupForm" method="post" action="includes/todo.php" style="display: none;"> --- 20,26 ---- </form> <form name="editPopupForm" id="editPopupForm" method="post" action="includes/edit.php" style="display: none;"> ! <input type="hidden" name="edit_from" id="edit_from" value="" /> <input type="hidden" name="edit_uid" id="edit_uid" value="" /> + <input type="hidden" name="edit_arr" id="edit_arr" value="" /> </form> <form name="todoPopupForm" id="todoPopupForm" method="post" action="includes/todo.php" style="display: none;"> |