root/templates/index.tpl @ 125

Revision 125, 0.6 KB (checked in by dez, 7 years ago)

Adds a bunch of templates that no-one thought to svn add previously
Adds page creation and deletion to static component

Line 
1{if $session->errormsg}
2        <div class="errorbar">
3                <div><div><div>
4                        {$session->errormsg}
5                </div></div></div>
6        </div>
7{/if}
8
9{if $secondary}
10<div id="primary">
11{/if}
12<div id="primaryC">
13{$body}
14
15{if $creatable}
16<p>You can <a href="?action=create">create</a> this page though.</p>
17{/if}
18
19{if $modified}
20<div id="edit">
21{if $editable}
22<ul>
23<li><a href="?action=delete-query">Delete</a></li>
24<li><a href="?action=edit">Edit</a></li>
25</ul>
26<div class="clear"></div>
27{/if}
28Page last modified {$modified}
29</div>
30{/if}
31</div>
32{if $secondary}
33</div>
34
35<div id="secondary">
36{$secondary}
37</div>
38{/if}
Note: See TracBrowser for help on using the browser.