plugin
upstream
Templates in the website are disabled now. Editing them will not have any effect on the live website.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
$def with (page) $ _t = i18n.get_namespace('/type/page') $ _ = i18n.get_namespace('/mode/edit') $var title: $_.edit_title(page.key) <form name="edit" method="post" action=""> <div id="slickbox" style="overflow: hidden"> $:macros.TypeChanger(page.type) </div> <div id="header"> <div style="float:left;padding-left:10px;padding-right:15px;"></div> <span class="pretitle">$_.edit_pretitle:<br /></span> <div id="title"> $page.title</div> </div> <div id="form-border"> <div id="metadata-body"> <strong>$_t.title</strong> <input type="text" name="title" value="$page.title" style="width: 100%" /> <br/><br/> <strong>$_t.body</strong><br/> <textarea name="body" rows="8" cols="80">$page.body</textarea> <br/> <strong>$_t.news</strong><br/> <textarea name="news" rows="15" cols="80">$page.news</textarea> <br/> <strong>$_t.stats</strong><br/> <textarea name="stats" rows="4" cols="80">$page.stats</textarea> $:macros.EditButtons(comment=page.comment_) </form> $:macros.HelpFormatting() </div> </div> </div> |