2008-09-24 23:02:16 -06:00
|
|
|
|
|
|
|
<div id="header">
|
|
|
|
<div class="superHeader">
|
|
|
|
% cat `{ get_lib_file top_bar.inc }
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="midHeader">
|
|
|
|
% gentitle
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="subHeader">
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
% if (! ~ $#sidebar 0) {
|
|
|
|
<div id="side-bar">
|
|
|
|
|
|
|
|
<div>
|
|
|
|
% if (! ~ $#sideBarNavTitle 0) {
|
|
|
|
% echo '<p class="sideBarTitle">'$"sideBarNavTitle':</p>'
|
|
|
|
% }
|
|
|
|
% gensidebar
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
% }
|
|
|
|
|
|
|
|
<div id="main-copy">
|
|
|
|
|
|
|
|
% genbody
|
|
|
|
|
2008-09-26 06:23:19 -06:00
|
|
|
% if (! ~ $#allowComments 0) {
|
|
|
|
|
|
|
|
%{
|
|
|
|
cdir = $body.md_werc/comments
|
|
|
|
if (test -d $cdir) {
|
|
|
|
echo '<hr /><h2>Comments</h2>'
|
|
|
|
for(c in `{ls $cdir}) {
|
|
|
|
parse_rec $c
|
|
|
|
|
|
|
|
echo '<div>'
|
|
|
|
echo User: $rec_user_name '<br />'
|
|
|
|
echo $rec_data | escape_html | sed 's,$,<br />,'
|
|
|
|
echo '<hr /></div>'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
%}
|
|
|
|
|
|
|
|
<form action="" method="post">
|
|
|
|
<input type="text" name="comment_user_name" value="Anonimous glenda" /><input type="submit" name="post_comment" value="Post a comment" />
|
|
|
|
<textarea name="comment_text" id="comment_text" cols="80" rows="16"></textarea>
|
|
|
|
</form>
|
|
|
|
% }
|
|
|
|
|
2008-09-24 23:02:16 -06:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="footer">
|
|
|
|
% cat `{ get_lib_file footer.inc }
|
|
|
|
</div>
|