root/dev/mods/value_editor/value_editor.tpl @ 291

Revision 225, 1.3 KB (checked in by ralle030583, 13 years ago)

- new Mod :

value editor and eve_central value sync from Shailo
( http://www.eve-dev.net/e107_plugins/forum/forum_viewtopic.php?4544)

Line 
1<form id="search" action="?a={$mod}" method="get">
2<table class="kb-subtable">
3        <tr>
4    <td><input id="searchphrase" name="searchphrase" type="text" size="30"/></td>
5    <td><select name='item_type'> {html_options options=$item_types selected=$type} </select></td>
6    <td><input type="submit" name="submit" value="Search"/><input type='hidden' name='a' value='{$mod}'></td>
7  </tr>
8</table>
9</form>
10<div class="block-header2">Values</div>
11{if $success}
12<div style='background: #944; border: 2px solid red'>{$success}</div>
13{/if}
14<table class="kb-table">
15  <tr class="kb-table-header"><td>Item</td><td colspan='2'>Current Value</td></tr>
16{section name=opt loop=$results}
17  <tr class="kb-table-row-{cycle values='odd,even'}">
18        <td>{$results[opt].name}</td>
19        <td><form method='post' action='?a={$mod}'>
20                <input type='text' value='{$results[opt].value}' name='value'>
21                <input type='hidden' value='{$results[opt].id}' name='itm_id'>
22                <input type='hidden' value='1' name='update_value'>
23                <input type='hidden' value='{$type}' name='item_type'>
24                &nbsp;&nbsp;<input type='submit' value='Save'>
25                </form>
26        </td>
27        {if $eve_central_exists eq "1"}<td><a href='?a={$mod}&itm_id={$results[opt].id}&d=eve_central&item_type={$type}'>Sync to EVE Central</a></td>{/if}
28        </td>
29</tr>
30{sectionelse}
31  <tr><td colspan='3'>None.</td></tr>
32{/section}
33</table>
Note: See TracBrowser for help on using the browser.