root/dev/templates/admin_postperm.tpl @ 203

Revision 134, 1.8 KB (checked in by exi, 14 years ago)

Added standings-management.
Changed installer step 3 to only use POST data now.
Character portraits should now look a bit better.
Changed all smarty template requests to use a wrapper function.
Modified standard page for IGB.
Added php compat file to reduce minimal needed version to 4.0.9.

Line 
1<b>Note:</b> This permission will be set to be additional to your corp/alliance id you've set up in the config.<br/>
2<br/>
3<form id="search" action="?a=admin_postperm" method="post">
4<table class="kb-subtable">
5  <tr><td>Type:</td><td>Text: (3 letters minimum)</td></tr>
6  <tr><td><select id="searchtype" name="searchtype"><option value="pilot">Pilot</option>
7    <option value="corp">Corporation</option>
8    <option value="alliance">Alliance</option>
9    </select></td><td><input id="searchphrase" name="searchphrase" type="text" size="30"/></td>
10    <td><input type="submit" name="submit" value="Search"/></td>
11  </tr>
12</table>
13</form>
14{if $search}
15<table class="kb-table" width="450" cellspacing="1">
16  <tr class="kb-table-header"><td>Search results</td></tr>
17{section name=res loop=$results}
18  <tr class="kb-table-row-even"><td><a href="{$results[res].link}">{$results[res].descr}</a></td></tr>
19{sectionelse}
20  <tr class="kb-table-row-even"><td>No results.</td></tr>
21{/section}
22</table>
23{/if}
24<br/>
25{if $config->getConfig('post_permission')=='all'}
26Authorization checking is disabled, people stil need to know the postpassword, though.<br/>
27<a href="?a=admin_postperm&authall=0">Enable authorization checking.</a>
28{else}
29<div class="block-header2">Granted Permissions</div>
30<table class="kb-table">
31{section name=opt loop=$permissions}
32  <tr class="kb-table-header"><td colspan="2">{$permissions[opt].name}</td></tr>
33{section name=idx loop=$permissions[opt].list}
34  <tr><td width="200"><b>{$permissions[opt].list[idx].text}</b></td><td><a href="{$permissions[opt].list[idx].link}">Delete</a></td></tr>
35{/section}
36{sectionelse}
37  <tr><td>None.</td></tr>
38{/section}
39</table>
40<br/>
41<a href="?a=admin_postperm&authall=1">Disable authorization checking (and delete all granted permissions).</a>
42{/if}
Note: See TracBrowser for help on using the browser.