Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 48 lines (47 sloc) 2.198 kb
da9748f Initial version.
Matthias Mees authored
1 <div id="staticpage_{$staticpage_pagetitle|@makeFilename}" class="{if $staticpage_articleformat}serendipity_entry {/if}serendipity_staticpage">
2 <header>
e8de6b6 Fallback if staticpage article format and/or non-article format title…
Matthias Mees authored
3 <h2>{if $staticpage_articleformat}{if $staticpage_articleformattitle}{$staticpage_articleformattitle|@escape}{else}{$staticpage_pagetitle}{/if}{else}{if $staticpage_headline}{$staticpage_headline|@escape}{else}{$staticpage_pagetitle}{/if}{/if}</h2>
bf8df0f Remove unlogical switch for static child pages.
Matthias Mees authored
4 {if is_array($staticpage_childpages)}
da9748f Initial version.
Matthias Mees authored
5 <ul id="staticpage_childpages">
6 {foreach from=$staticpage_childpages item="childpage"}
7 <li><a href="{$childpage.permalink|@escape}" title="{$childpage.pagetitle|@escape}">{$childpage.pagetitle|@escape}</a></li>
8 {/foreach}
9 </ul>
10 {/if}
11 </header>
12 {if $staticpage_pass AND $staticpage_form_pass != $staticpage_pass}
13 <form class="staticpage_password_form" action="{$staticpage_form_url}" method="post">
14 <fieldset>
15 <legend>{$CONST.STATICPAGE_PASSWORD_NOTICE}</legend>
0b49d8d @yellowled Got rid of (X)HTML syntax for self-closing tags.
authored
16 <input name="serendipity[pass]" type="password" value="">
17 <input name="submit" type="submit" value="{$CONST.GO}" >
da9748f Initial version.
Matthias Mees authored
18 </fieldset>
19 </form>
20 {else}
456530e Added switches to not emit empty content containers.
Matthias Mees authored
21 {if $staticpage_precontent}
4ccf5c6 Added .content class to some elements.
Matthias Mees authored
22 <div class="clearfix content serendipity_preface">
da9748f Initial version.
Matthias Mees authored
23 {$staticpage_precontent}
24 </div>
456530e Added switches to not emit empty content containers.
Matthias Mees authored
25 {/if}
45ca085 Fixed switches to not emit empty content containers.
Matthias Mees authored
26 {if $staticpage_content}
4ccf5c6 Added .content class to some elements.
Matthias Mees authored
27 <div class="clearfix content staticpage_content">
da9748f Initial version.
Matthias Mees authored
28 {$staticpage_content}
29 </div>
456530e Added switches to not emit empty content containers.
Matthias Mees authored
30 {/if}
da9748f Initial version.
Matthias Mees authored
31 {/if}
32 {if $staticpage_author or $staticpage_lastchange or $staticpage_adminlink}
33 <footer class="staticpage_metainfo">
34 <small>
35 {if $staticpage_author}
b48e504 Added invisible additional footer text on static pages.
Matthias Mees authored
36 <span class="visuallyhidden">{$CONST.POSTED_BY} </span>{$staticpage_author|@escape}
da9748f Initial version.
Matthias Mees authored
37 {/if}
38 {if $staticpage_lastchange}
fe36523 @yellowled Finally figured out how to implement html5 time smarty patch by @ophi…
authored
39 | <span class="visuallyhidden">{$CONST.ON} </span><time datetime="{$staticpage_lastchange|@serendipity_html5time}" pubdate>{$staticpage_lastchange|date_format:$template_option.date_format}</time>
da9748f Initial version.
Matthias Mees authored
40 {/if}
41 {if $staticpage_adminlink AND $staticpage_adminlink.page_user}
42 | <a href="{$staticpage_adminlink.link_edit}">{$staticpage_adminlink.link_name|@escape}</a>
43 {/if}
44 </small>
45 </footer>
46 {/if}
47 </div>
Something went wrong with that request. Please try again.