]> ruin.nu Git - ndwebbie.git/blobdiff - templates/calls.tmpl
oops, guess I had forgotten about this file
[ndwebbie.git] / templates / calls.tmpl
index 7b0fa85398e4a8ffdb23017771c4f3d1c4b2a146..892ee1051ac5bce5521d76b8e54e8377ea08b1b3 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>
@@ -74,7 +74,7 @@
        <tr><th>Call</th><th>Member (def points)</th><th>Landing tick</th><th>Races</th><th>Amount</th><th>Shiptypes</th><th>Current eta</th><th>Inital eta</th><th>Alliance</th><th>Attackers</th></tr>
 <TMPL_LOOP Calls>
        <tr align="center" class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
-               <td><a href="/?page=<TMPL_VAR NAME=PAGE>&amp;call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
+               <td class="<TMPL_VAR NAME=DC>"><a href="<TMPL_VAR NAME=PAGE>?call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
                <td class='<TMPL_VAR NAME=DefPrio>'><TMPL_VAR NAME=Coords> <TMPL_IF Id>(<TMPL_VAR NAME=Defense_points>)<TMPL_ELSE>-New Day-</TMPL_IF></td>
                <td><TMPL_VAR NAME=Landing_tick></td>
                <td><TMPL_VAR NAME=Race></td>