]> ruin.nu Git - ndwebbie.git/blobdiff - templates/resources.tmpl
global_vars and <TMPL_VAR NAME=PAGE> instead of hardcoded page values
[ndwebbie.git] / templates / resources.tmpl
index 5010c658b352467aa4fab0076a1cd8d3ac376f3a..2030dad179bcae4f14afa810b1bc7903bf766d27 100644 (file)
@@ -2,13 +2,13 @@
 <table>
        <tr>
                <th>Name</th><th>Relationship</th><th>Members (in res calc)</th>
-               <th><a href="index.pl?page=resources&amp;order=score">Score</a></th>
-               <th><a href="index.pl?page=resources&amp;order=size">Size</a></th>
-               <th><a href="index.pl?page=resources&amp;order=resources">Resources</a></th>
-               <th><a href="index.pl?page=resources&amp;order=respplanet">Resources / Planet</a></th>
-               <th><a href="index.pl?page=resources&amp;order=nscore">Res score (gain)</a>[1]</th>
-               <th><a href="index.pl?page=resources&amp;order=nscore2">Avg res score (gain)</a>[2]</th>
-               <th><a href="index.pl?page=resources&amp;order=nscore3">Estimated score</a>[3]</th>
+               <th><a href="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;order=score">Score</a></th>
+               <th><a href="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;order=size">Size</a></th>
+               <th><a href="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;order=resources">Resources</a></th>
+               <th><a href="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;order=respplanet">Resources / Planet</a></th>
+               <th><a href="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;order=nscore">Res score (gain)</a>[1]</th>
+               <th><a href="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;order=nscore2">Avg res score (gain)</a>[2]</th>
+               <th><a href="index.pl?page=<TMPL_VAR NAME=PAGE>&amp;order=nscore3">Estimated score</a>[3]</th>
        </tr>
 <TMPL_LOOP Alliances>
        <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">