]> ruin.nu Git - ndwebbie.git/commitdiff
keep url on posts
authorMichael Andreen <harv@ruin.nu>
Thu, 28 Dec 2006 19:55:04 +0000 (19:55 +0000)
committerMichael Andreen <harv@ruin.nu>
Thu, 28 Dec 2006 19:55:04 +0000 (19:55 +0000)
12 files changed:
templates/addintel.tmpl
templates/alliances.tmpl
templates/calls.tmpl
templates/defrequest.tmpl
templates/editRaid.tmpl
templates/intel.tmpl
templates/launchConfirmation.tmpl
templates/main.tmpl
templates/motd.tmpl
templates/raids.tmpl
templates/skel.tmpl
templates/users.tmpl

index 157ff2cf95ff909d2197a9f734a8c7e877efc11a..87f9afc350880eb21eafb1766e8f6ae6fa4da9b9 100644 (file)
@@ -3,7 +3,7 @@
 <p><TMPL_VAR NAME=Scan> <TMPL_VAR NAME=Message></p>
 </TMPL_LOOP>
 <div class="leftinfo">
-       <form action="/" method="post"><fieldset> <legend>Intel/scans</legend>
+       <form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Intel/scans</legend>
                <p>Paste <b>scan urls</b> and intel from <b>gal status</b> here</p>
                <textarea rows="20" cols="50" name="intel"></textarea>
                <input type="hidden" name="cmd" value="submit"/>
@@ -13,7 +13,7 @@
        </fieldset></form>
 </div>
 
-<form action="/" method="post"><fieldset> <legend>Intel</legend>
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Intel</legend>
        <p>Write other messages to intel dept here (sms numbers, relay channels, bots etc) (<b>NOT gal status</b>):</p>
        <textarea rows="20" cols="50" name="intel"></textarea>
        <input type="hidden" name="cmd" value="submit_message"/>
index 83052e23912fc1aa0ae440589e5ffd0405030c44..4a7aa55bffe8dbedf74d1648f551b0eac0edc4b7 100644 (file)
@@ -1,6 +1,6 @@
 <TMPL_VAR NAME=Error>
 <TMPL_IF Alliance>
-<form action="/" method="post"><fieldset> <legend>Alliances: </legend>
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Alliances: </legend>
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <input type="hidden" name="cmd" value="change"/>
        <input type="hidden" name="alliance" value="<TMPL_VAR NAME=Id>"/>
index 7b0fa85398e4a8ffdb23017771c4f3d1c4b2a146..9c7e2ad8f166e349a1aeefda7708483bf39a115d 100644 (file)
@@ -1,6 +1,6 @@
 <TMPL_VAR NAME=Error>
 <TMPL_IF Call>
-<form action="/" method="post"><fieldset> <legend>Call details, call# <TMPL_VAR NAME=Call></legend>
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Call details, call# <TMPL_VAR NAME=Call></legend>
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <input type="hidden" name="call" value="<TMPL_VAR NAME=Call>"/>
        <p>Current DC: <TMPL_VAR NAME=DC></p>
@@ -35,7 +35,7 @@
        </p>
 </fieldset></form>
 <p>Attackers:</p>
-<form action="/" method="post">
+<form action="<TMPL_VAR NAME=PAGE>" method="post">
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <input type="hidden" name="call" value="<TMPL_VAR NAME=Call>"/>
        <table>
index 840b1e76197dad709cb61c70488e02495c1d073c..c2fdeb4de66151187d02e196acc6f9242bcb6d20 100644 (file)
@@ -1,7 +1,7 @@
 <TMPL_VAR NAME=Error>
 <TMPL_IF Reply><p>Sent the message '<TMPL_VAR NAME=Reply>' to def
 channel</p></TMPL_IF>
-<form action="/" method="post"><fieldset> <legend>Launch confirmation</legend>
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Launch confirmation</legend>
        <p>Message to def channel (like a line from gal status):</p>
        <input type="text" name="message" value=""/>
        <input type="hidden" name="cmd" value="submit"/>
index a0bf2ec15266e52780b40008d7ce424db2e220f6..16c3062759c08555fb6ad2c3302772dd65821804 100644 (file)
@@ -1,5 +1,5 @@
 <TMPL_VAR NAME=Error>
-<form action="/" method="post">
+<form action="<TMPL_VAR NAME=PAGE>" method="post">
        <fieldset> <legend><TMPL_IF Raid>Edit raid<TMPL_ELSE>New raid</TMPL_IF></legend>
                <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
                <div class="leftinfo">
@@ -79,7 +79,7 @@
                        </tr>
                </table>
        </div>
-       <form action="/" method="post">
+       <form action="<TMPL_VAR NAME=PAGE>" method="post">
                <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
                <input type="hidden" name="target" value="<TMPL_VAR NAME=Id>"/>
                <input type="hidden" name="cmd" value="comment"/>
index fbaed7daec6ea0f9d98c5d7897aea485e41b4fb4..457af6b0eb75a9e7d79c851c4b04a472afac5dbe 100644 (file)
@@ -1,5 +1,5 @@
 <TMPL_VAR NAME=Error>
-<form action="/" method="post"><p>
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><p>
        <input type="text" name="coords" value="<TMPL_VAR NAME=Coords>"/>
        <input type="submit" value="Check"/>
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
@@ -20,7 +20,7 @@
 </TMPL_IF>
 
 <TMPL_IF Coords>
-<form action="/" method="post">
+<form action="<TMPL_VAR NAME=PAGE>" method="post">
        <input type="hidden" name="coords" value="<TMPL_VAR NAME=Coords>"/>
        <input type="hidden" name="planet" value="<TMPL_VAR NAME=Planet>"/>
        <input type="hidden" name="cmd" value="change"/>
        </TMPL_LOOP>
 </table>
 
-       <form action="/" method="post"><fieldset> <legend>Coords</legend>
+       <form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Coords</legend>
        <p>Paste a list of coords here</p>
        <textarea rows="25" cols="80" name="coords"></textarea>
        <input type="hidden" name="cmd" value="coords"/>
index 6e3c4c549bb5d0cd947a4f2e0330a45c2b000381..93ff790629bcca3957cbc563a5d63d19c07dcb67 100644 (file)
@@ -14,7 +14,7 @@
 </table>
 <hr/>
 </TMPL_LOOP>
-<form action="/" method="post"><fieldset> <legend>Launch confirmation</legend>
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Launch confirmation</legend>
        <p>Paste all (ctrl+a should be ok, but try with just single mission if you get an error, save the ctrl+a output and contact harv) information from <b>missions page</b> here (NOT from news page, and not overview, nor gal status). It's ok to paste when prelaunched, as long as you're sure you won't change your plans.</p>
        <textarea rows="25" cols="80" name="mission"></textarea>
        <input type="hidden" name="cmd" value="submit"/>
index 61c99e798d46d2944ac3bfd4763ad93c28585d03..0af958727003fc59921befd9dbdb296ec0102268 100644 (file)
@@ -22,7 +22,7 @@
        <li>XP: <TMPL_VAR NAME=PlanetXP></li>   
        <TMPL_ELSE>
                <TMPL_IF isMEMBER>
-               <form action="/?page=<TMPL_VAR NAME=PAGE>" method="post">
+               <form action="<TMPL_VAR NAME=PAGE>" method="post">
                        <p>We need your planet's coordinates: 
                        <input type="text" name="planet" value=""/>
                        <input type="submit" value="Submit"/>
@@ -33,7 +33,7 @@
        </ul>
 </fieldset>
 <fieldset> <legend>Fleets</legend>
-<form action="/" method="post">
+<form action="<TMPL_VAR NAME=PAGE>" method="post">
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <table>
        <tr><th>Target</th><th>Mission</th><th>Amount</th><th>Landing Tick</th><th>Back home</th><th>change?</th></tr>
@@ -52,7 +52,7 @@
        </p>
 </form>
 </fieldset>
-<form action="main?" method="post">
+<form action="<TMPL_VAR NAME=PAGE>" method="post">
 <fieldset> <legend>SMS</legend>
        <p>Number: 
        <input type="text" name="sms" value="<TMPL_VAR NAME=SMS>"/>
@@ -60,7 +60,7 @@
        </p>
 </fieldset>
 </form>
-<form action="/" method="post">
+<form action="<TMPL_VAR NAME=PAGE>" method="post">
 <fieldset> <legend>Fleet</legend>
        <p>Paste your total fleet from ships section on overview here (do it daily to see the menus):</p>
        <textarea rows="15" cols="50" name="fleet"></textarea>
@@ -69,7 +69,7 @@
        <br/><input type="submit" value="Submit"/>
 </fieldset>
 </form>
-<form action="/" method="post">
+<form action="<TMPL_VAR NAME=PAGE>" method="post">
 <fieldset> <legend>Change password</legend>
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <p>Old password: 
index 3f79a0a2995ddc124f4a6b65b0ccd7f93f2716eb..327564ccaf373057dc7af0185a41c93837619549 100644 (file)
@@ -1,4 +1,4 @@
-<form action="/" method="post"><fieldset> <legend>Motd</legend>
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Motd</legend>
        <textarea rows="25" cols="80" name="motd"><TMPL_VAR NAME=MOTD></textarea>
        <input type="hidden" name="cmd" value="change"/>
        <input type="hidden" name="page" value="motd"/>
index 6ecfb5a1aa183c249d217d9d40ecf5049ca5fab0..957c99ef38f0ef007ba635bbdf53ae5bfe1545cf 100644 (file)
@@ -31,7 +31,7 @@
 </fieldset>
 
 <TMPL_IF Ajax>
-<form action="/" method="post">
+<form action="<TMPL_VAR NAME=PAGE>" method="post">
        <p>
                <input type="button" value="Update claims"
                        onclick = "update('/?page=<TMPL_VAR NAME=PAGE>&amp;xml=1&amp;raid=<TMPL_VAR NAME=Raid>')"/>
@@ -67,7 +67,7 @@
                </div>
        </TMPL_LOOP>
        <div class="clear"> &nbsp;</div>
-       <form action="/" method="post">
+       <form action="<TMPL_VAR NAME=PAGE>" method="post">
        <p class="claimlinks">
        <span id="claim<TMPL_VAR NAME=Id>">
        <TMPL_IF Ajax>
index a5b0a170e77c5fbe4d5062fdbd008894365cb57a..211433980abcf1f3e02cc9b9c7f14b830a7814f3 100644 (file)
@@ -29,7 +29,7 @@
                <TMPL_IF isATTACKER>
                <p>Attack menu</p>
                <ul class="linkbar">
-                       <li><form action="/" method="post"><p>
+                       <li><form action="<TMPL_VAR NAME=PAGE>" method="post"><p>
                                <input type="hidden" name="page" value="check"/>
                                <input class="coordsinput" type="text" name="coords" value="<TMPL_VAR NAME=Coords>"/>
                                <input class="coordsbutton" type="submit" value="Check"/>
index ded90d3c79ab3db156ab44e04f8fe5e8dece6591..74a814b316837740c3d2f14e1f1c0ece9793b999 100644 (file)
@@ -1,6 +1,6 @@
 <TMPL_VAR NAME=Error>
 <TMPL_IF User>
-<form action="/" method="post"><fieldset> <legend>User details</legend>
+<form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>User details</legend>
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>
        <input type="hidden" name="cmd" value="change"/>
        <input type="hidden" name="user" value="<TMPL_VAR NAME=User>"/>