first implementation of "selected tag condition"
[phpfspot.git] / templates / tags.tpl
index d46ac21813a8aaae3294b17af299a0503771b418..99c8b90784bcabf03267b05e362afa293ac95dc0 100644 (file)
@@ -1,6 +1,37 @@
- The following tags are available:<br />
-<div id='available_tags'>
-</div>
- The following tags have been selected: <br />
-<div id='selected_tags'>
-</div>
+<table>
+ <tr>
+  <td style="vertical-align: middle; text-decoration: underline;">
+   <img src="resources/available_tags.png" \>Available Tags:
+  </td>
+ </tr>
+ <tr>
+  <td class="available_tags">
+   <div id="available_tags"></div>
+  </td>
+ </tr>
+ <tr>
+  <td>
+   <table style="width: 100%;">
+    <tr>
+     <td style="vertical-align: bottom; text-decoration: underline;">
+      <img src="resources/selected_tags.png" />Selected Tags:
+     </td>
+     <td style="vertical-align: bottom;">
+      &nbsp;
+      Condition:
+      <input type="radio" name="condition" value="or" onclick="Tags('condition', this);" {if $current_condition == "or" } checked="checked" { /if } />OR
+      <input type="radio" name="condition" value="and" onclick="Tags('condition', this);" {if $current_condition == "and" } checked="checked" { /if } />AND
+     </td>
+    </tr>
+   </table>
+  </td>
+ </tr>
+ <tr>
+  <td class="selected_tags">
+   <div id="selected_tags"></div>
+  </td>
+ </tr>
+ <tr>
+  <td>&nbsp;</td>
+ </tr>
+</table>