source: trunk/admin/template/goto/permalinks.tpl @ 2621

Last change on this file since 2621 was 2557, checked in by rvelices, 16 years ago
  • fix undefined template variable F_ACTION
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1{* $Id: permalinks.tpl 2557 2008-09-21 11:01:36Z rvelices $ *}
2<div class="titrePage">
3  <h2>{'Permalinks'|@translate}</h2>
4</div>
5
6<form method="post" action="">
7<fieldset><legend>{'Add/delete a permalink'|@translate}</legend>
8  <label>{'Category'|@translate}:
9    <select name="cat_id">
10      <option value="0">------</option>
11      {html_options options=$categories selected=$categories_selected}
12    </select>
13  </label>
14
15  <label>{'Permalink'|@translate}:
16    <input name="permalink" />
17  </label>
18
19  <label>{'Save to permalink history'|@translate}:
20    <input type="checkbox" name="save" checked="checked" />
21  </label>
22
23  <p>
24    <input type="submit" class="submit" name="set_permalink" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/>
25  </p>
26  </fieldset>
27</form>
28
29<h3>{'Permalinks'|@translate}</h3>
30<table class="table2">
31  <tr class="throw">
32    <td>Id {$SORT_ID}</td>
33    <td>{'Category'|@translate} {$SORT_NAME}</td>
34    <td>{'Permalink'|@translate} {$SORT_PERMALINK}</td>
35  </tr>
36{foreach from=$permalinks item=permalink name="permalink_loop"}
37  <tr class="{if $smarty.foreach.permalink_loop.index is odd}row1{else}row2{/if}">
38    <td>{$permalink.id}</td>
39    <td>{$permalink.name}</td>
40    <td>{$permalink.permalink}</td>
41  </tr>
42{/foreach}
43</table>
44
45<h3>{'Permalink history'|@translate} <a name="old_permalinks"></a></h3>
46<table class="table2">
47  <tr class="throw">
48    <td>Id {$SORT_OLD_CAT_ID}</td>
49    <td>{'Category'|@translate}</td>
50    <td>{'Permalink'|@translate} {$SORT_OLD_PERMALINK}</td>
51    <td>Deleted on {$SORT_OLD_DATE_DELETED}</td>
52    <td>Last hit {$SORT_OLD_LAST_HIT}</td>
53    <td>Hit {$SORT_OLD_HIT}</td>
54    <td></td>
55  </tr>
56{foreach from=$deleted_permalinks item=permalink}
57  <tr>
58    <td>{$permalink.cat_id}</td>
59    <td>{$permalink.name}</td>
60    <td>{$permalink.permalink}</td>
61    <td>{$permalink.date_deleted}</td>
62    <td>{$permalink.last_hit}</td>
63    <td>{$permalink.hit}</td>
64    <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" alt="[{'delete'|@translate}]" class="button"></a></td>
65  </tr>
66{/foreach}
67</table>
Note: See TracBrowser for help on using the repository browser.