[geeklog-cvs] Geeklog-1.x/plugins/calendar/templates addevent.thtml, 1.9, 1.10 editpersonalevent.thtml, 1.7, 1.8 submitevent.thtml, 1.12, 1.13

Dirk Haun dhaun at qs1489.pair.com
Thu May 22 13:01:56 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/plugins/calendar/templates
In directory qs1489.pair.com:/tmp/cvs-serv43032/plugins/calendar/templates

Modified Files:
	addevent.thtml editpersonalevent.thtml submitevent.thtml 
Log Message:
More CSRF protection; also fixed some E_ALL warnings and some cosmetic issues


Index: addevent.thtml
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/calendar/templates/addevent.thtml,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** addevent.thtml	25 Nov 2007 06:56:04 -0000	1.9
--- addevent.thtml	22 May 2008 17:01:54 -0000	1.10
***************
*** 30,33 ****
--- 30,34 ----
                                                  <input type="hidden" name="eid" value="{event_id}"{xhtml}>
                                                  <input type="submit" value="{lang_addtomycalendar}"{xhtml}>
+                                                 <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
                                              </div>
                                          </form>

Index: submitevent.thtml
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/calendar/templates/submitevent.thtml,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** submitevent.thtml	27 Jan 2008 15:23:33 -0000	1.12
--- submitevent.thtml	22 May 2008 17:01:54 -0000	1.13
***************
*** 94,97 ****
--- 94,98 ----
                                      <input type="hidden" name="hour_mode" value="{hour_mode}"{xhtml}>
                                      <input type="submit" value="{lang_submit}"{xhtml}>
+                                     {hidden_fields}
                                  </div>
                                  <div class="clear-left"></div>

Index: editpersonalevent.thtml
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/calendar/templates/editpersonalevent.thtml,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** editpersonalevent.thtml	22 May 2008 14:08:49 -0000	1.7
--- editpersonalevent.thtml	22 May 2008 17:01:54 -0000	1.8
***************
*** 104,108 ****
                                      <tr>
                                          <td align="right" valign="top"><b>{lang_description}:</b></td>
!                                         <td><textarea name="description" cols="50" rows="20">{event_description}</textarea></td>
                                      </tr>
                                      <tr>
--- 104,108 ----
                                      <tr>
                                          <td align="right" valign="top"><b>{lang_description}:</b></td>
!                                         <td><textarea name="description" style="width:100%" cols="50" rows="20">{event_description}</textarea></td>
                                      </tr>
                                      <tr>
***************
*** 114,117 ****
--- 114,118 ----
                                              <input type="submit" name="action" value="{lang_submit}"{xhtml}>
                                              <input type="submit" name="action" value="{lang_delete}"{xhtml}>
+                                             <input type="hidden" name="{gltoken_name}" value="{gltoken}"{xhtml}>
                                          </td>
                                      </tr>




More information about the geeklog-cvs mailing list