SelectionTool_configure.dtml 1.15 KB
Newer Older
1 2 3 4 5 6 7 8
<dtml-var manage_page_header>
<dtml-var manage_tabs>

<h3>Selection Tool configuration</h3>
<p>
  Selection Tool supports Memcached Tool and Persistent Mapping for its storage.
</p>
<div>
9 10 11 12 13 14 15 16 17 18 19
  <dtml-let storage_item_list="getStorageItemList()">
    <dtml-in prefix="store" name="storage_item_list">
      <dtml-let storage="store_item[1]"
                  storage_title="store_item[0]"
                  selected="storage == getStorage()">
        <dtml-if selected>
          Current setting: <dtml-var storage_title html_quote>
        </dtml-if>
      </dtml-let>
    </dtml-in>
  </dtml-let>
20 21 22 23
</div>

<form action="setStorage" method="post">
  <select name="value">
24 25 26 27 28 29 30 31 32
    <dtml-let storage_item_list="getStorageItemList()">
      <dtml-in prefix="store" name="storage_item_list">
        <dtml-let storage="store_item[1]"
                  storage_title="store_item[0]"
                  selected="storage == getStorage() and 'selected' or ''">
          <option value="&dtml-storage;" &dtml-selected;>&dtml-storage_title;</option>
        </dtml-let>
      </dtml-in>
    </dtml-let>
33 34 35 36 37
  </select>
  <input type="submit" value="Change"/>
</form>

<dtml-var manage_page_footer>