[geeklog-cvs] geeklog: Fixed form action URLs in Calendar templates (patch #00...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Aug 28 11:08:54 EDT 2011


changeset 8366:d0af10713af7
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/d0af10713af7
user: Dirk Haun <dirk at haun-online.de>
date: Sun Jun 19 15:29:26 2011 +0200
description:
Fixed form action URLs in Calendar templates (patch #0001360, provided by mystral-kk)

diffstat:

 plugins/calendar/templates/calendar.thtml               |  6 +++---
 plugins/calendar/templates/mastercalendaroption.thtml   |  2 +-
 plugins/calendar/templates/personalcalendaroption.thtml |  2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 322ac22b8bfd -r d0af10713af7 plugins/calendar/templates/calendar.thtml
--- a/plugins/calendar/templates/calendar.thtml	Sun Jun 19 13:53:01 2011 +0200
+++ b/plugins/calendar/templates/calendar.thtml	Sun Jun 19 15:29:26 2011 +0200
@@ -20,7 +20,7 @@
                                                         <table border="0" cellpadding="5" cellspacing="0">
                                                             <tr>
                                                                 <td colspan="2" align="center">
-                                                                    <form method="post" action="index.php">
+                                                                    <form method="post" action="{site_url}/calendar/index.php">
                                                                         <div>
                                                                             <input type="hidden" name="mode" value="{mode}"{xhtml}>
                                                                             <select name="month" onchange="this.form.submit()">
@@ -77,7 +77,7 @@
                                 <table style="margin-left:auto; margin-right:auto">
                                     <tr>
                                         <td>
-                                            <form method="post" action="index.php">
+                                            <form method="post" action="{site_url}/calendar/index.php">
                                                 <div>
                                                     <input type="submit" value="<<"{xhtml}>
                                                     <input type="hidden" name="month" value="{cal_prevmo_num}"{xhtml}>
@@ -94,7 +94,7 @@
                                         {master_calendar_option}
                                         </td>
                                         <td>
-                                            <form method="post" action="index.php">
+                                            <form method="post" action="{site_url}/calendar/index.php">
                                                 <div>
                                                     <input type="submit" value=">>"{xhtml}>
                                                     <input type="hidden" name="month" value="{cal_nextmo_num}"{xhtml}>
diff -r 322ac22b8bfd -r d0af10713af7 plugins/calendar/templates/mastercalendaroption.thtml
--- a/plugins/calendar/templates/mastercalendaroption.thtml	Sun Jun 19 13:53:01 2011 +0200
+++ b/plugins/calendar/templates/mastercalendaroption.thtml	Sun Jun 19 15:29:26 2011 +0200
@@ -1,4 +1,4 @@
-                                            <form method="post" action="index.php">
+                                            <form method="post" action="{site_url}/calendar/index.php">
                                                 <div>
                                                     <input type="submit" name="action" value="{lang_mastercal}"{xhtml}>
                                                 </div>
diff -r 322ac22b8bfd -r d0af10713af7 plugins/calendar/templates/personalcalendaroption.thtml
--- a/plugins/calendar/templates/personalcalendaroption.thtml	Sun Jun 19 13:53:01 2011 +0200
+++ b/plugins/calendar/templates/personalcalendaroption.thtml	Sun Jun 19 15:29:26 2011 +0200
@@ -1,4 +1,4 @@
-                                            <form method="post" action="index.php?mode=personal">
+                                            <form method="post" action="{site_url}/calendar/index.php?mode=personal">
                                                 <div>
                                                     <input type="submit" name="action" value="{lang_mycalendar}"{xhtml}>
                                                 </div>



More information about the geeklog-cvs mailing list