]> ruin.nu Git - ndwebbie.git/blobdiff - templates/calls.tmpl
oops, guess I had forgotten about this file
[ndwebbie.git] / templates / calls.tmpl
index 43a759c9a46556d9aabc80b9e76b1c03ef5b4fd6..892ee1051ac5bce5521d76b8e54e8377ea08b1b3 100644 (file)
@@ -1,10 +1,10 @@
 <TMPL_VAR NAME=Error>
 <TMPL_IF Call>
-<form action="/index.pl" 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>
-       <p>Member: <a href="index.pl?page=check&amp;coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></p>
+       <p>Member: <a href="check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></p>
        <p>Defense points: <TMPL_VAR NAME=DefensePoints></p>
        <p>Landing at tick: <input type="text" name="tick" value="<TMPL_VAR NAME=LandingTick>"/>
                <input type="checkbox" name="ctick"/></p>
@@ -35,7 +35,7 @@
        </p>
 </fieldset></form>
 <p>Attackers:</p>
-<form action="index.pl" 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>
@@ -52,7 +52,7 @@
        </tr>
        <TMPL_LOOP Attackers>
        <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
-               <td><a href="index.pl?page=check&amp;coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
+               <td><a href="check?coords=<TMPL_VAR NAME=Coords>"><TMPL_VAR NAME=Coords></a></td>
                <td class="<TMPL_VAR NAME=Planet_status>"><TMPL_VAR NAME=Planet_status></td>
                <td class="<TMPL_VAR NAME=Relationship>"><TMPL_VAR NAME=Alliance> (<TMPL_VAR NAME=Relationship>)</td>
                <td><TMPL_VAR NAME=Race></td>
@@ -74,8 +74,8 @@
        <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="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;call=<TMPL_VAR NAME=Id>"><TMPL_VAR NAME=Id></a></td>
-               <td class='<TMPL_VAR NAME=DefPrio>'><TMPL_VAR NAME=Coords> (<TMPL_VAR NAME=Defense_points>)</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>
                <td><TMPL_VAR NAME=Amount></td>