]> ruin.nu Git - ndwebbie.git/blobdiff - templates/intel.tmpl
Storing government for planets
[ndwebbie.git] / templates / intel.tmpl
index b872faf355c0b99f6bd19c93c1a9caf04e19d6d8..fca56ebf1c28c7ad17414e1cbbcc5c6276c865f7 100644 (file)
@@ -9,7 +9,7 @@
 <p><a href="/<TMPL_VAR NAME=PAGE>?<TMPL_IF Coords>&amp;coords=<TMPL_VAR NAME=Coords></TMPL_IF>&amp;show=all">Show all ticks</a></p>
 
 <TMPL_IF CoordList>
-<table>
+<table class="stats">
        <tr><th>Coords</th><th>Alliance</th></tr>
        <TMPL_LOOP CoordList>
        <tr>
                        <td><input type="text" name="channel" value="<TMPL_VAR NAME=Channel>"/></td>
                        <td><input type="checkbox" name="cchannel"/></td>
                </tr>
+               <tr><td>Government</td>
+                       <td><select name="gov">
+                               <TMPL_LOOP Gov>
+                                       <option value="<TMPL_VAR NAME=Gov>" <TMPL_IF NAME=Selected>selected="selected"</TMPL_IF>><TMPL_VAR NAME=Gov></option>
+                               </TMPL_LOOP>
+                               </select></td>
+                       <td><input type="checkbox" name="cgov"/></td>
+               </tr>
                <tr><td>Planet status</td>
                        <td><select name="status">
                                <TMPL_LOOP PlanetStatus>
@@ -63,7 +71,7 @@
 </TMPL_IF>
 <TMPL_IF ChannelUsers>
 <p>Planets sharing this channel</p>
-<table>
+<table class="stats">
        <tr>
        <th>Coords</th><th>Alliance</th><th>Nick</th><th>Channel</th>
        </tr>
@@ -79,7 +87,7 @@
 
 <TMPL_IF Thread>
 <div>
-<TMPL_VAR NAME=Thread>
+<TMPL_VAR ESCAPE=NONE NAME=Thread>
 <form action="<TMPL_VAR NAME=PAGE>#NewPosts" method="post"><fieldset class="forum-post"> <legend>New Reply</legend>
        <textarea rows="10" cols="60" name="message"></textarea>
        <input type="hidden" name="cmd" value="forumpost"/>
 
 <TMPL_LOOP IntelLists>
 <TMPL_IF Message><p><TMPL_VAR NAME=Message></p></TMPL_IF>
-<table>
+<table class="stats">
        <tr>
                <TMPL_IF Origin><th>Alliance</th><th>Sender</th></TMPL_IF>
                <th>Mission</th><th>Landing tick</th><th>ETA</th><th>Amount</th>
                <th>Ingal</th><th>Reported by</th>
        </tr>
        <TMPL_LOOP Intel>
-       <tr class="<TMPL_IF ODD>odd<TMPL_ELSE>even</TMPL_IF>">
+       <tr class="<TMPL_IF __odd__>odd<TMPL_ELSE>even</TMPL_IF>">
        <TMPL_IF Origin>
        <td><TMPL_VAR NAME=OAlliance></td>
        <td><a href="/<TMPL_VAR NAME=PAGE>?coords=<TMPL_VAR NAME=Origin>"><TMPL_VAR NAME=Origin></a></td>
 </TMPL_LOOP>
 
        <form action="<TMPL_VAR NAME=PAGE>" method="post"><fieldset> <legend>Coords</legend>
-       <p>Paste a list of coords here</p>
+       <p>Paste a list of coords that you want to check here</p>
        <textarea rows="25" cols="80" name="coords"></textarea>
        <input type="hidden" name="cmd" value="coords"/>
        <input type="hidden" name="page" value="<TMPL_VAR NAME=PAGE>"/>