root/dev/templates/value_editor.tpl @ 491

Revision 427, 1.4 KB (checked in by kovell, 12 years ago)

Fixes: Rank mod gives out less free medals. Value editor updated by FriedRoadKill? and incorporated in core. Classified kills not shown in related kills. History mod updated.

Line 
1<form id="search" action="?a=admin_value_editor" 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='admin_value_editor'></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=admin_value_editor'>
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=admin_value_editor&amp;itm_id={$results[opt].id}&amp;d=eve_central&amp;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.