cleaned up code

This commit is contained in:
Tobi Schäfer 2004-01-13 12:25:53 +00:00
parent 6e432aa543
commit b4a6f23d1f
14 changed files with 52 additions and 56 deletions

View file

@ -1,14 +1,14 @@
<div class="reply">
<div class="listSeparator">&nbsp;</div>
<div class="storyDate">
<% comment.creator as="link" %>,
<% comment.createtime format="long" %>
</div>
<div class="title"><% comment.content part="title" %></div>
<div><% comment.content part="text" %></div>
<p class="small">
<% comment.link text="link" prefix="...&nbsp;" %>&nbsp;&nbsp;
<% comment.editlink prefix="...&nbsp;" suffix="&nbsp;&nbsp;" %>
<% comment.deletelink prefix="...&nbsp;" %>
</p>
<div class="listSeparator">&nbsp;</div>
<div class="storyDate">
<% comment.creator as="link" %>,
<% comment.createtime format="long" %>
</div>
<div class="title"><% comment.content part="title" %></div>
<div><% comment.content part="text" %></div>
<p class="small">
<% comment.link text="link" prefix="...&nbsp;" %>&nbsp;&nbsp;
<% comment.editlink prefix="...&nbsp;" suffix="&nbsp;&nbsp;" %>
<% comment.deletelink prefix="...&nbsp;" %>
</p>
</div>

View file

@ -1,20 +1,20 @@
<div class="listSeparator">&nbsp;</div>
<div class="storyDate">
<% comment.creator as="link" %>,
<% comment.createtime format="long" %>
<% comment.creator as="link" %>,
<% comment.createtime format="long" %>
</div>
<div class="title">
<% comment.content part="title" %>
<% comment.content part="title" %>
</div>
<div>
<% comment.content part="text" %>
<% comment.content part="text" %>
</div>
<p class="small">
<% comment.link text="link" prefix="...&nbsp;" %>&nbsp;&nbsp;
<% comment.editlink prefix="...&nbsp;" suffix="&nbsp;&nbsp;" %>
<% comment.deletelink prefix="...&nbsp;" %>
<% comment.link text="link" prefix="...&nbsp;" %>&nbsp;&nbsp;
<% comment.editlink prefix="...&nbsp;" suffix="&nbsp;&nbsp;" %>
<% comment.deletelink prefix="...&nbsp;" %>
</p>
<% comment.comments %>
<div class="reply"><span class="small">
<% comment.replylink text="comment" anchor="form" prefix="<br />...&nbsp;" %>
<% comment.replylink text="comment" anchor="form" prefix="<br />...&nbsp;" %>
</span></div>

View file

@ -1,4 +1,4 @@
<div class="pageNav">
<div class="pageNavSummary">displaying <% param.display %><% param.total prefix=" (of " suffix=")" %></div>
<div class="pageNavBar"><% param.pagenavigation %></div>
<div class="pageNavSummary">displaying <% param.display %><% param.total prefix=" (of " suffix=")" %></div>
<div class="pageNavBar"><% param.pagenavigation %></div>
</div>

View file

@ -1,10 +1,10 @@
<script language="javascript" defer="defer">
var win = external.menuArguments;
var doc = win.document;
var sel = doc.selection;
var rng = sel.createRange();
var str = new String(rng.text);
var url = "<% root.url %>/<% site.alias %>/stories/create?content_text=";
var link = escape('<a href="' + doc.location.href + '">' + doc.title + "</a>: ");
win.top.location.href = url + link + str;
var win = external.menuArguments;
var doc = win.document;
var sel = doc.selection;
var rng = sel.createRange();
var str = new String(rng.text);
var url = "<% root.url %>/<% site.alias %>/stories/create?content_text=";
var link = escape('<a href="' + doc.location.href + '">' + doc.title + "</a>: ");
win.top.location.href = url + link + str;
</script>

View file

@ -1,14 +1,14 @@
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td></td>
<td rowspan="999">&nbsp;</td>
<td align="right" class="small">Count</td>
<td rowspan="999">&nbsp;</td>
<td class="small">Date</td>
<td rowspan="999">&nbsp;</td>
<td class="small">Title</td>
<td rowspan="999">&nbsp;</td>
<td class="small">Author</td>
<td></td>
<td rowspan="999">&nbsp;</td>
<td align="right" class="small">Count</td>
<td rowspan="999">&nbsp;</td>
<td class="small">Date</td>
<td rowspan="999">&nbsp;</td>
<td class="small">Title</td>
<td rowspan="999">&nbsp;</td>
<td class="small">Author</td>
</tr>
<% site.listMostRead %>

View file

@ -3,7 +3,6 @@
<div class="ample">...&nbsp;<% skinmgr.link to="create" text="add a custom skin" %></div>
...&nbsp;show&nbsp;<% skinmgr.link to="main" text="all skins" %>&nbsp;|&nbsp;<% skinmgr.link to="modified" text="modified skins" %>&nbsp;|&nbsp;<% skinmgr.link to="custom" text="custom skins" %>
<ul class="skinmgrTree">
<% response.list %>
</ul>

View file

@ -1 +1 @@
<div class="dayHeader"><% story.createtime format="EEEE, d. MMMM yyyy" %></div>
<div class="dayHeader"><% story.createtime format="EEEE, d. MMMM yyyy" %></div>

View file

@ -2,4 +2,3 @@
<div class="storyDate"><% story.creator as="link" %>, <% story.createtime format="HH:mm" suffix="h" %></div>
<div><% story.content part="text" %></div>

View file

@ -1,2 +1,2 @@
<span class="storyTitle"><% story.content part="title" suffix="<br />" %></span>
<% story.content part="text" limit="100" clipping="&nbsp;..." %><span class="small"><% story.link text="[read&nbsp;more]" prefix="&nbsp;" to="main" %><% story.editlink prefix="&nbsp;...&nbsp;" %></span><br />
<% story.content part="text" limit="100" clipping="&nbsp;..." %><span class="small"><% story.link text="[read&nbsp;more]" prefix="&nbsp;" to="main" %><% story.editlink prefix="&nbsp;...&nbsp;" %></span><br />

View file

@ -1,7 +1,7 @@
<tr>
<td align="right" valign="baseline" class="small"><% param.rank %></td>
<td align="right" valign="baseline"><% param.reads %></td>
<td valign="baseline"><% story.createtime format="dd.MM.yy" %></td>
<td valign="baseline"><% story.content part="title" as="link" %></td>
<td valign="baseline"><% story.creator %></td>
<td align="right" valign="baseline" class="small"><% param.rank %></td>
<td align="right" valign="baseline"><% param.reads %></td>
<td valign="baseline"><% story.createtime format="dd.MM.yy" %></td>
<td valign="baseline"><% story.content part="title" as="link" %></td>
<td valign="baseline"><% story.creator %></td>
</tr>

View file

@ -1,8 +1,8 @@
<% story.skin name="display" %>
<p class="small">
<% story.link text="link" prefix="...&nbsp;" %>
<% story.commentcounter prefix="(" suffix=")" anchor="comments" %>
<% story.commentlink prefix="&nbsp;&nbsp;...&nbsp;" %>
<% story.editlink prefix="&nbsp;&nbsp;...&nbsp;" %>
<% story.link text="link" prefix="...&nbsp;" %>
<% story.commentcounter prefix="(" suffix=")" anchor="comments" %>
<% story.commentlink prefix="&nbsp;&nbsp;...&nbsp;" %>
<% story.editlink prefix="&nbsp;&nbsp;...&nbsp;" %>
</p>
<br />

View file

@ -124,5 +124,3 @@
</tr>
</table>
</form>

View file

@ -2,4 +2,4 @@
<% topic.addimage prefix="...&nbsp;" suffix="<br />" %>
<% response.prevpage %></div>
<% response.storylist %>
<% response.nextpage %>
<% response.nextpage %>

View file

@ -11,4 +11,4 @@
last visit:&nbsp;<% user.sysmgr_lastvisit format="dd.MM.yyyy HH:mm" %></div></td>
<td class="small" valign="top" align="right" nowrap="nowrap"><% user.sysmgr_editlink prefix="...&nbsp;" %></td>
</tr>
</table>
</table>