no message

This commit is contained in:
Robert Gaggl 2001-06-28 18:09:09 +00:00
parent 726cf57379
commit 05c35c1d5f
45 changed files with 652 additions and 254 deletions

View file

@ -1,4 +1,8 @@
<FORM METHOD="POST">
<P>Warning! You are about to delete the a comment from <B><% this.author %></B>! Be aware of the fact that there is no "undo", so if you klick on delete here the comment will be gone forever!</P>
<P><% this.input type="button" value="delete" %>&nbsp;<% this.input type="button" value="cancel" %></P>
</FORM>
<table border="0" width="600" cellspacing="0" cellpadding="0">
<tr>
<td class="storyText"><form method="post"><p class="storyTitle">Warning!</p>
<p>Warning! You are about to delete the a comment from <b><% this.author %></b>! Be aware of the fact that there is no "undo", so if you klick on delete here the comment will be gone forever!
<p><% this.input type="button" value="delete" %>&nbsp;<% this.input type="button" value="cancel" %></p></td>
</tr>
</table>
</form>

View file

@ -1,5 +1,15 @@
<FORM METHOD="POST">
<P>Title: <% this.title as="editor" %></P>
<P>Text: <% this.text as="editor" %></P>
<% this.input type="button" value="save" %>
</FORM>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="storyText" nowrap><form method="post">Title:</td>
<td class="storyText" nowrap><% this.title as="editor" %></td>
</tr>
<tr>
<td class="storyText" valign="top" nowrap>Text:</td>
<td class="storyText" nowrap><% this.text as="editor" width="25" height="8" %></td>
</tr>
<tr>
<td class="storyText" nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" value="save" %></td>
</tr>
</table>
</form>

View file

@ -1,4 +1,12 @@
<BLOCKQUOTE><B><% this.title %></B><BR>
<I><% this.author %><% this.createtime format="EEEE, dd.MM.yyyy HH:mm" prefix=",&nbsp;am&nbsp;" %></I><BR>
<% this.text %><BR>
<% this.editlink suffix="&nbsp;&nbsp;" %><% this.deletelink %></BLOCKQUOTE>
<table border="0" width="400" cellspacing="0" cellpadding="0">
<tr>
<td width="40" nowrap>&nbsp;</td>
<td><div class="replyDate"><% this.createtime format="EEEE,'&nbsp;'dd.mm.yyyy'&nbsp;at&nbsp;'h:mm a" prefix="on&nbsp;" %><% this.author prefix=",&nbsp;" suffix="&nbsp;answered:"%></div>
<div class="commentTitle"><% this.title %></div>
<div class="storyText"><% this.text suffix="<br>&nbsp;" %></div>
<div class="storyNav"><% this.editlink suffix="&nbsp;&nbsp;" %><% this.deletelink %></div></td>
</tr>
<tr>
<td colspan="2" height="15" nowrap>&nbsp;</td>
</tr>
</table>

View file

@ -1,6 +1,13 @@
<P><B><% this.title %></B><BR>
<I><% this.author %><% this.createtime format="EEEE, dd.MM.yyyy HH:mm" prefix=",&nbsp;am&nbsp;" %></I><BR>
<% this.text %><BR>
<% this.replylink text="reply to this comment ..." suffix="&nbsp;&nbsp;" %><% this.editlink suffix="&nbsp;&nbsp;" %><% this.deletelink %></P>
<table border="0" width="400" cellspacing="0" cellpadding="0">
<tr>
<td><div class="toplevelDate"><% this.createtime format="EEEE,'&nbsp;'dd.mm.yyyy'&nbsp;at&nbsp;'h:mm a" prefix="on&nbsp;" %><% this.author prefix=",&nbsp;" suffix="&nbsp;wrote:"%></div>
<div class="commentTitle"><% this.title %></div>
<div class="storyText"><% this.text suffix="<br>&nbsp;" %></div>
<div class="storyNav"><% this.replylink text="reply to this comment ..." suffix="&nbsp;&nbsp;" %><% this.editlink suffix="&nbsp;&nbsp;" %><% this.deletelink %></div></td>
</tr>
<tr>
<td height="15" nowrap>&nbsp;</td>
</tr>
</table>
<% this.replies %>

View file

@ -1,12 +1,13 @@
<HTML>
<HEAD>
<TITLE><% response.title %></TITLE>
<html>
<head>
<title><% response.title %></title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<% response.head %>
</HEAD>
</head>
<BODY>
<body>
<% response.body %>
</BODY>
</HTML>
</body>
</html>

View file

@ -1,4 +1,8 @@
<FORM METHOD="POST">
<P>Warning! You are about to delete the image <B><% this.alias %></B>! Be aware of the fact that there is no "undo", so if you klick on delete here the image will be gone forever!</P>
<P><% this.input type="button" value="delete" %>&nbsp;<% this.input type="button" value="cancel" %></P>
</FORM>
<table border="0" width="600" cellspacing="0" cellpadding="0">
<tr>
<td class="storyText"><form method="post"><p class="storyTitle">Warning!</p>
<p>Warning! You are about to delete the image <b>&quot;<% this.alias %>&quot;</b>! Be aware of the fact that there is no "undo", so if you klick on delete here the image will be gone forever!</p>
<p><% this.input type="button" value="delete" %>&nbsp;<% this.input type="button" value="cancel" %></p></td>
</tr>
</table>
</form>

View file

@ -1,6 +1,16 @@
<FORM METHOD="POST">
<P><% this.show %></P>
<P>Alias:<% this.alias as="editor" %></P>
<P>Alttext:<% this.alttext as="editor" %></P>
<P><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %>
</FORM>
<% this.show %>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<tr>
<td class="storyText" nowrap><form method="post">Name:</td>
<td class="storyText" nowrap><% this.alias as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Alttext:</td>
<td class="storyText" nowrap><% this.alttext as="editor" width="40" %></td>
</tr>
<tr>
<td class="storyText" nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></td>
</tr>
</form>

View file

@ -1,8 +1,33 @@
<FORM METHOD="POST" ENCTYPE="multipart/form-data">
<P>Alias:<% this.alias as="editor" %></P>
<P>Alttext:<% this.alttext as="editor" %></P>
<P>Upload: <% this.input type="file" name="rawimage" %></P>
<P>maximum width: <% this.input type="text" name="maxWidth" width="5" %><BR>
maximum height: <% this.input type="text" name="maxHeight" width="5" %><BR></P>
<P><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %>
</FORM>
<table border="0" width="400" cellspacing="0" cellpadding="3">
<tr>
<td colspan="2" class="storyText">Please specify the name of the image. Using this name you will be able to reference the image in a macro.</td>
</tr>
<tr>
<td class="storyText" nowrap><form method="post" enctype="multipart/form-data">Name:</td>
<td class="storyText" nowrap><% this.alias as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Alttext:</td>
<td class="storyText" nowrap><% this.alttext as="editor" width="40" %></td>
</tr>
<tr>
<td class="storyText" nowrap>File:</td>
<td class="storyText" nowrap><% this.input type="file" name="rawimage" width="10" %></td>
</tr>
<tr>
<td colspan="2" class="storyText">If you want to resize the image, please specify your desired maximum width and/or maximum height. If you specify both, the image will be resized to match both criterias, but the proportions of the image will be preserved.</td>
</tr>
<tr>
<td class="storyText" nowrap>max. width:</td>
<td class="storyText" nowrap><% this.input type="text" name="maxwidth" width="5" %>&nbsp;pixel</td>
</tr>
<tr>
<td class="storyText" nowrap>max. height:</td>
<td class="storyText" nowrap><% this.input type="text" name="maxheight" width="5" %>&nbsp;pixel</td>
</tr>
<tr>
<td class="storyText" valign="top" nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></td>
</tr>
</table>
</form>

View file

@ -1 +1,12 @@
<% this.show as="preview" %><% this.editlink prefix="&nbsp;" %><% this.deletelink prefix="&nbsp;" %><BR>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td colspan="2" bgcolor="#CCCCCC" class="storyText"><% this.alias %></td>
</tr>
<tr>
<td nowrap><% this.show linkto="edit" %></td>
<td valign="top" class="storyNav"><% this.editlink suffix="<br>" %><% this.deletelink %></td>
</tr>
<tr>
<td colspan="2" height="15" nowrap></td>
</tr>
</table>

View file

@ -1,2 +1,2 @@
<P><% this.images %></P>
<P><% this.link to="create" text="add new image" %></P>
<p class="storyNav"><% this.link to="create" text="add new image" %></p>
<% this.images %>

View file

@ -17,18 +17,20 @@ function evalNewImg() {
} else {
// first, check if alias already exists
if (!req.data.alias)
res.message = "You must enter an alias for this image!";
res.message = "You must enter a name for this image!";
else if (this.get(req.data.alias))
res.message = "There is already an image with this alias!";
res.message = "There is already an image with this name!";
else if (!isClean(req.data.alias))
res.message = "Please do not use special characters in the name!";
else {
newImg.filename = req.data.alias;
newImg.cache.saveTo = getProperty("imgPath") + this.__parent__.alias + "/";
// check if user wants to resize width
if (req.data.maxWidth)
newImg.cache.maxWidth = parseInt(req.data.maxWidth,10);
if (req.data.maxwidth)
newImg.cache.maxwidth = parseInt(req.data.maxwidth,10);
// check if user wants to resize height
if (req.data.maxHeight)
newImg.cache.maxHeight = parseInt(req.data.maxHeight,10);
if (req.data.maxheight)
newImg.cache.maxheight = parseInt(req.data.maxheight,10);
// save/resize the image
newImg.saveImg(rawimage);
// any errors?

View file

@ -1,6 +1,19 @@
<FORM METHOD="POST">
<P><% this.input type="text" name="name" prefix="Username:&nbsp;" %><BR>
<% this.input type="password" name="password" prefix="Password:&nbsp;" %><BR>
<% this.input type="button" name="login" value="login!" %></P>
<P>If you're not registered, you can do this <% this.link to="register" text="here" %></P>
</FORM>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="storyText" nowrap><form method="post">Username:</td>
<td class="storyText" nowrap><% this.input type="text" name="name" width="15" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Password:</td>
<td class="storyText" nowrap><% this.input type="password" name="password" width="15" %></td>
</tr>
<tr>
<td class="storyText" nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" name="login" value="login!" %></td>
</tr>
<tr>
<td class="storyText" nowrap>&nbsp;</td>
<td class="storyText" nowrap>If you're not registered, you can do this <% this.link to="register" text="here" %></td>
</tr>
</table>
</form>

View file

@ -16,7 +16,12 @@ function evalRegistration() {
user.login(reg.name, reg.password1);
user.sendConfirmationMail();
res.message = "Welcome " + user.name + ". Have fun!<br>";
res.redirect(root.href());
if (user.cache.referer) {
var redirectTo = user.cache.referer;
user.cache.referer = null;
} else
var redirectTo = root.href();
res.redirect(redirectTo);
} else
res.message = "Sorry, we already have a member with that name.";
}

View file

@ -5,7 +5,7 @@ if (req.data.submit == "cancel")
else
var reg = this.evalRegistration();
res.title = "Antville member registration";
res.title = "Antville - Registration";
res.head = root.renderSkinAsString("style");
res.body = root.renderSkinAsString("header");
res.body += this.renderSkinAsString("register",reg);

View file

@ -1,11 +1,31 @@
<FORM METHOD="POST">
<P>Username:&nbsp;<% this.input type="text" name="name" %></P>
Your Password:&nbsp;<% this.input type="password" name="password1" %><BR>
type again:&nbsp;<% this.input type="password" name="password2" %><BR>
Email:&nbsp;<% this.input type="text" name="email" %><BR>
URL:&nbsp;<% this.input type="text" name="url" %><BR>
Description:&nbsp;<% this.input type="textarea" name="description" %><BR>
<% this.input type="button" value="register" %>&nbsp;<% this.input type="button" value="cancel" %>
</FORM>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="storyText" nowrap><form method="post">Username:</td>
<td class="storyText" nowrap><% this.input type="text" name="name" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Password:</td>
<td class="storyText" nowrap><% this.input type="password" name="password1" %></td>
</tr>
<tr>
<td class="storyText" nowrap>type again:</td>
<td class="storyText" nowrap><% this.input type="password" name="password2" %></td>
</tr>
<tr>
<td class="storyText" nowrap>eMail:</td>
<td class="storyText" nowrap><% this.input type="text" name="email" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Url:*</td>
<td class="storyText" nowrap><% this.input type="text" name="url" %></td>
</tr>
<tr>
<td class="storyText" valign="top" nowrap>Description:*</td>
<td class="storyText" nowrap><% this.input type="textarea" name="description" %></td>
</tr>
<tr>
<td nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" value="register" %>&nbsp;<% this.input type="button" value="cancel" %><br>&nbsp;<br>* = optional</td>
</tr>
</table>
</form>

View file

@ -1 +1 @@
<FONT SIZE="-1">Logged in as <% currentUser.name %> ... <% this.link to="edit" text="edit your profile" %> or <% this.link to="logout" text="logout" %></FONT>
Logged in as <% currentUser.name %> ... <% this.link to="edit" text="edit your profile" %> or <% this.link to="logout" text="logout" %>

View file

@ -1 +1 @@
<FONT SIZE="-1">You're not logged in ... <% this.link to="login" text="login" %></FONT>
You're not logged in ... <% this.link to="login" text="login" %>

View file

@ -1,3 +1,11 @@
<P><FONT SIZE="+3"><B>Antville</B>&nbsp;</FONT><FONT SIZE="-1" COLOR="#FF0000"><% response.message %></FONT></P>
<% now prefix="here it is " format="EEEE, dd.MM.yyyy HH:mm" suffix="<BR>" %>
<% root.loginstatus %>
<table border="0" width="600" height="80" cellspacing="0" cellpadding="2" class="header">
<tr>
<td class="headerTitle" nowrap>Antville</td>
<td class="headerMsg">&nbsp;<% response.message %></td>
</tr>
<tr>
<td class="loginStatus" nowrap><% root.loginstatus %>&nbsp;</td>
<td class="headerStatus"><% now prefix="right now it's " format="EEEE, dd.MM.yyyy HH:mm" suffix="<BR>" %></td>
</tr>
</table>
&nbsp;<br>

View file

@ -1,7 +1,17 @@
<P>This is Antville, a small Weblog-Application build with <% this.link to="http://helma.org" text="Helma Object Publisher" %>.</P>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="600" class="storyText" nowrap><p>This is Antville, a small Weblog-application build with <% this.link to="http://helma.org" text="Helma" %>. Within Antville you can easily create your own weblog and modify it to your own needs. Beside the normal weblog-functions Antville in it's current version provides:
<ul class="storyText">
<li>an tool for easy administration of images</li>
<li>a powerful set of macros (which are kind of special tags you can embed in layout-snippets and stories, i.e. to embed an image in a story or to place a link).</li>
<li>a fully customizeable set of &quot;skins&quot; for each weblog including a skin-editor where you can easily modify the appearence of your weblog.</li>
</ul></p>
<P>If you don't own a Weblog yourself, feel free to <% this.link to="new" text="create one" %></P>
<p class="storyText">So if you want to give Antville a try, feel free to <% this.link to="new" text="create a weblog" %>!</p>
<P><B>Status:</B></P>
<% this.weblogcounter %> WebLogs created<BR>
<% this.webloglist prefix="<BR>last updated weblogs:<BR>" %><P>
<p class="storyText">Until now, <% this.weblogcounter %> Weblogs were created, and the last updated weblogs are
<ul class="storyText">
<% this.webloglist %>
</ul></p></td>
</tr>
</table>

View file

@ -1,22 +1,14 @@
if (!root.isAddAllowed())
res.redirect(root.href());
res.skin = "main";
res.title = "Antville - creating a new Weblog";
res.title = "Antville - Create a new weblog";
res.head = this.renderSkinAsString("style");
if (!user.uid) {
res.message = "Please login first";
user.cache.referer = this.href("new");
res.redirect(root.members.href("login"));
} else {
if (req.data.submit == "cancel")
res.redirect(root.href());
else if (user.isBlocked())
res.redirect(root.href());
else if (user.getWeblog()) {
res.message = "You already own a Weblog! You'll need a new account to create another one.";
res.redirect(root.members.href("register"));
} else
var newLog = this.evalNewWeblog();
if (req.data.submit == "cancel")
res.redirect(root.href());
var newLog = this.evalNewWeblog();
res.body = this.renderSkinAsString("header");
res.body += newLog.renderSkinAsString("new");
}
res.body = this.renderSkinAsString("header");
res.body += newLog.renderSkinAsString("new");

View file

@ -1,39 +1,59 @@
<STYLE TYPE="text/css">
<style type="text/css">
<!--
body { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weight: normal;
color: #000000;
background-color: #FFFFFF;
}
.calendar { border: 1px solid black;
}
.header { width: 600px;
height: 80px;
background-color: #CCCCCC;
border-style: inset;
border: 1px solid #666666;
}
.calendarHeader { font-size: 8pt;
font-weight: bold;
color: #FFFFFF;
background-color: #666666;
}
.calendarDay { font-size: 8pt;
font-weight: normal;
border: 1px solid #666666;
text-align: center;
.headerTitle { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 20pt;
font-weight: bold;
color: #666666;
vertical-align: top;
padding: 5px;
}
.calendarSelectedDay { font-size: 8pt;
font-weight: normal;
border: 1px solid #666666;
background-color: #FFFFFF;
text-align: center;
}
.headerMsg { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
font-weigth: normal;
color: #CC0000;
text-align: right;
padding: 5px;
}
.calendarFooter { font-size: 8pt;
font-weight: bold;
color: #FFFFFF;
background-color: #999999;
}
.headerStatus { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
color: #666666;
text-align: right;
vertical-align: bottom;
padding: 5px;
}
.loginStatus { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
color: #666666;
font-weight: normal;
text-align: left;
vertical-align: bottom;
padding: 5px;
}
.storyText { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;;
color: #000000;
font-weight: normal;
}
// -->
</STYLE>
</style>

View file

@ -4,5 +4,5 @@ _properties.aresubnodes=true
_subnodes.order=LASTUPDATE desc
_subnodes.loadmode=aggressive
members=[mountpoint]membership
members=[mountpoint]membership

View file

@ -1,9 +1,9 @@
<TABLE BGCOLOR="#FF9900" BORDER="0" CELLSPACING="0" CELLPADDING="2">
<TR>
<TD NOWRAP><% this.link to="main" text="&bull;&nbsp;home" %></TD>
<TD NOWRAP><% this.link to="edit" text="&bull;&nbsp;preferences" %></TD>
<TD NOWRAP><% this.link to="create" text="&bull;&nbsp;create story" %></TD>
<TD NOWRAP><% this.link to="images" text="&bull;&nbsp;image editor" %></TD>
<TD NOWRAP><% this.link to="skins" text="&bull;&nbsp;skin editor" %></TD>
</TR>
</TABLE>
<table border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="headerNavItem" nowrap>&nbsp;<% this.link to="main" text="home" %>&nbsp;</td>
<td class="headerNavItem" nowrap>&nbsp;<% this.link to="edit" text="preferences" %>&nbsp;</td>
<td class="headerNavItem" nowrap>&nbsp;<% this.link to="create" text="create story" %>&nbsp;</td>
<td class="headerNavItem" nowrap>&nbsp;<% this.link to="images" text="image editor" %>&nbsp;</td>
<td class="headerNavItem" nowrap>&nbsp;<% this.link to="skins" text="skin editor" %>&nbsp;</td>
</tr>
</table>

View file

@ -1,20 +1,20 @@
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BGCOLOR="#CCCCCC" CLASS="calendar">
<TR>
<TD COLSPAN="7" ALIGN="CENTER" CLASS="calendarHeader" NOWRAP><% param.month %>&nbsp;<% param.year %></TD>
</TR>
<TR>
<TD CLASS="calendarDay" NOWRAP>Mo</TD>
<TD CLASS="calendarDay" NOWRAP>Tu</TD>
<TD CLASS="calendarDay" NOWRAP>We</TD>
<TD CLASS="calendarDay" NOWRAP>Th</TD>
<TD CLASS="calendarDay" NOWRAP>Fr</TD>
<TD CLASS="calendarDay" NOWRAP>Sa</TD>
<TD CLASS="calendarDay" NOWRAP>Su</TD>
</TR>
<table border="0" cellspacing="0" cellpadding="2" class="calendar">
<tr>
<td colspan="7" align="center" class="calendarheader" nowrap><% param.month %>&nbsp;<% param.year %></td>
</tr>
<tr>
<td class="calendarday" nowrap>mo</td>
<td class="calendarday" nowrap>tu</td>
<td class="calendarday" nowrap>we</td>
<td class="calendarday" nowrap>th</td>
<td class="calendarday" nowrap>fr</td>
<td class="calendarday" nowrap>sa</td>
<td class="calendarday" nowrap>su</td>
</tr>
<% param.calendar %>
<TR>
<TD COLSPAN="3" ALIGN="RIGHT" CLASS="calendarFooter" NOWRAP><% param.back %></TD>
<TD CLASS="calendarFooter" NOWRAP>&nbsp;</TD>
<TD COLSPAN="3" CLASS="calendarFooter" NOWRAP><% param.forward %></TD>
</TR>
</TABLE>
<tr>
<td colspan="3" align="right" class="calendarfooter" nowrap><% param.back %></td>
<td class="calendarfooter" nowrap>&nbsp;</td>
<td colspan="3" class="calendarfooter" nowrap><% param.forward %></td>
</tr>
</table>

View file

@ -1 +1 @@
<TD CLASS="calendarDay" NOWRAP><% param.day %></TD>
<td class="calendarDay" nowrap><% param.day %></td>

View file

@ -1 +1 @@
<TD CLASS="calendarSelectedDay" NOWRAP><% param.day %></TD>
<td class="calendarSelectedDay" nowrap><% param.day %></td>

View file

@ -1,3 +1,3 @@
<TR>
<tr>
<% param.week %>
</TR>
</tr>

View file

@ -1,20 +1,83 @@
<P><FORM METHOD="POST">
Title:&nbsp;<% this.title as="editor" width="40" %><BR>
Tagline:&nbsp;<% this.tagline as="editor" width="40" %><BR>
Birthdate:&nbsp;<% this.birthdate as="editor" %><BR>
Background color:&nbsp;<% this.bgcolor as="editor" width="10" %><BR>
Textfont:&nbsp;<% this.textfont as="editor" width="40" %><BR>
Textsize:&nbsp;<% this.textsize as="editor" width="10" %><BR>
Textcolor:&nbsp;<% this.textcolor as="editor" width="10" %><BR>
Linkcolor:&nbsp;<% this.linkcolor as="editor" width="10" %><BR>
ALinkcolor:&nbsp;<% this.alinkcolor as="editor" width="10" %><BR>
VLinkcolor:&nbsp;<% this.vlinkcolor as="editor" width="10" %><BR>
Titlefont:&nbsp;<% this.titlefont as="editor" width="40" %><BR>
Titlesize:&nbsp;<% this.titlesize as="editor" width="10" %><BR>
Titlecolor:&nbsp;<% this.titlecolor as="editor" width="10" %><BR>
show days:&nbsp;<% this.showdays as="editor" width="5"%><BR>
online:&nbsp;<% this.online as="editor" %><BR>
hasDiscussions:&nbsp;<% this.hasdiscussions as="editor" %><BR>
enable archive:&nbsp;<% this.showarchive as="editor" %><BR>
<% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %>
</FORM></P>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="storyText" nowrap><form method="post">Title:</td>
<td class="storyText" nowrap><% this.title as="editor" width="30" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Tagline:</td>
<td class="storyText" nowrap><% this.tagline as="editor" width="30" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Birthdate:</td>
<td class="storyText" nowrap><% this.birthdate as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Background color:</td>
<td class="storyText" nowrap><% this.bgcolor as="editor" width="10" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Textfont:</td>
<td class="storyText" nowrap><% this.textfont as="editor" width="30" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Textsize:</td>
<td class="storyText" nowrap><% this.textsize as="editor" width="10" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Textcolor:</td>
<td class="storyText" nowrap><% this.textcolor as="editor" width="10" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Linkcolor:</td>
<td class="storyText" nowrap><% this.linkcolor as="editor" width="10" %></td>
</tr>
<tr>
<td class="storyText" nowrap>ALinkcolor:</td>
<td class="storyText" nowrap><% this.alinkcolor as="editor" width="10" %></td>
</tr>
<tr>
<td class="storyText" nowrap>VLinkcolor:</td>
<td class="storyText" nowrap><% this.vlinkcolor as="editor" width="10" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Titlefont:</td>
<td class="storyText" nowrap><% this.titlefont as="editor" width="30" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Titlesize:</td>
<td class="storyText" nowrap><% this.titlesize as="editor" width="10" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Titlecolor:</td>
<td class="storyText" nowrap><% this.titlecolor as="editor" width="10" %></td>
</tr>
<tr>
<td class="storyText" nowrap>show days:</td>
<td class="storyText" nowrap><% this.showdays as="editor" width="5" %></td>
</tr>
<tr>
<td class="storyText" nowrap>language:</td>
<td class="storyText" nowrap><% this.language as="editor" width="5" %></td>
</tr>
<tr>
<td class="storyText" nowrap>country:</td>
<td class="storyText" nowrap><% this.country as="editor" width="5" %></td>
</tr>
<tr>
<td class="storyText" nowrap>online:</td>
<td class="storyText" nowrap><% this.online as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>hasDiscussions:</td>
<td class="storyText" nowrap><% this.hasdiscussions as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>enable archive:</td>
<td class="storyText" nowrap><% this.showarchive as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></td>
</tr>
</table>
</form>

View file

@ -1,6 +1,15 @@
<P><FONT SIZE="+3"><B><% this.title %></B></FONT>&nbsp;<FONT SIZE="-1" COLOR="#FF0000"><% response.message %></FONT>
<% this.age prefix="<BR>online since:&nbsp;" show="days" suffix=" Days" %>
<% this.lastupdate prefix="<BR>last updated:&nbsp;" format="EEEE, dd.MM.yyyy, HH:mm" suffix="&nbsp;Uhr" %></P>
<% this.loginstatus %>
<% this.navigation %>
<table border="0" width="600" height="80" cellspacing="0" cellpadding="2" class="header">
<tr>
<td class="headerTitle" nowrap><% this.title %></td>
<td class="headerMsg">&nbsp;<% response.message %></td>
</tr>
<tr>
<td class="loginStatus" nowrap><% this.loginstatus %>&nbsp;</td>
<td class="headerStatus"><% this.age prefix="online since:&nbsp;" show="days" suffix=" Days" %>
<% this.lastupdate prefix="<BR>last updated:&nbsp;" format="EE,'&nbsp;'dd.MM.yyyy,'&nbsp;'h:mm a" %></td>
</tr>
<tr>
<td colspan="2" class="headerNav" nowrap><% this.navigation %></td>
</tr>
</table>
&nbsp;<BR>

View file

@ -1,5 +1,9 @@
<% this.skin name="header" %>
<% this.calendar %>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="400" valign="top" nowrap><% this.storylist %></td>
<td width="200" align="right" valign="top" nowrap><% this.calendar %></td>
</tr>
</table>
<% this.storylist %>

View file

@ -1,8 +1,22 @@
<FORM METHOD="POST">
<P>To create a new weblog you need to fill out the form below. The title will appear in the header of every page, and the alias will be part of the URL to your weblog. So don't use any special characters like spaces, brackets etc. in the alias.</P>
<P>Title:&nbsp;<% this.title as="editor" %><BR>
Alias:&nbsp;<% this.alias as="editor" %><BR>
<% this.input type="button" value="create" %>&nbsp;<% this.input type="button" value="cancel" %></P>
</FORM>
<table border="0" width="600" cellspacing="0" cellpadding="3">
<tr>
<td class="storyText">To create a new weblog you need to fill out the form below. The title will appear in the header of every page, and the alias will be part of the URL to your weblog. So don't use any special characters like spaces, brackets etc. in the alias.</td>
</tr>
<tr>
<td nowrap><table border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="storyText" nowrap><form method="post">Title:</td>
<td class="storyText" nowrap><% this.title as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>Alias:</td>
<td class="storyText" nowrap><% this.alias as="editor" %></td>
</tr>
<tr>
<td nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" value="create" %>&nbsp;<% this.input type="button" value="cancel" %></td>
</tr>
</table></td>
</tr>
</table>
</form>

View file

@ -1 +1 @@
&bull;<% this.title linkto="main" %> (last updated: <% this.lastupdate format="EEEE, dd.MM.yyyy HH:mm" %>)<BR>
<li><% this.title linkto="main" %> (last updated: <% this.lastupdate format="EEEE, dd.MM.yyyy HH:mm" %>)</li>

View file

@ -1,45 +1,158 @@
<STYLE TYPE="text/css">
<style type="text/css">
<!--
body { font-family: <% this.textfont %>;
font-size: <% this.textsize %>;
font-weight: normal;
color: #<% this.textcolor %>;
background-color: #<% this.bgcolor %>;
}
.title { font-family: <% this.titlefont %>;
font-size: <% this.titlesize %>;
color: <% this.titlecolor %>;
font-weight: bold;
a:link { color: #<% this.linkcolor %>;
}
.calendar { border: 1px solid black;
a:visited { color: #<% this.vlinkcolor %>;
}
.calendarHeader { font-size: 8pt;
a:active { color: #<% this.alinkcolor %>;
}
.header { width: 600px;
height: 80px;
background-color: #CCCCCC;
border-style: inset;
border: 1px solid #666666;
}
.headerTitle { font-family: <% this.titlefont %>;
font-size: 20pt;
font-weight: bold;
color: #666666;
vertical-align: top;
padding: 5px;
}
.headerMsg { font-family: <% this.textfont %>;
font-size: 10pt;
font-weigth: normal;
color: #CC0000;
text-align: right;
padding: 5px;
}
.headerStatus { font-family: <% this.textfont %>;
font-size: 8pt;
font-weight: normal;
color: #666666;
text-align: right;
vertical-align: bottom;
padding: 5px;
}
.loginStatus { font-family: <% this.textfont %>;
font-size: 8pt;
color: #666666;
font-weight: normal;
text-align: left;
vertical-align: bottom;
padding: 5px;
}
.headerNav { width: 600px;
background-color: #666666;
padding: 1px;
}
.headerNavItem { font-family: <% this.textfont %>;
font-size: 9pt;
background-color: #FFFFFF;
font-color: #666666;
padding: 1px;
}
.storyDate { font-family: <% this.textfont %>;
font-size: 8pt;
color: #999999;
}
.storyTitle { font-family: <% this.titlefont %>;
font-size: <% this.titlesize %>;
color: <% this.titlecolor %>;
font-weight: bold;
}
.storyText { font-family: <% this.textfont %>;
font-size: <% this.textsize %>;
color: <% this.textcolor %>;
font-weight: normal;
}
.storyNav { font-family: <% this.textfont %>;
font-size: 8pt;
color: #999999;
}
.toplevelDate { font-family: <% this.textfont %>;
font-size: 8pt;
line-height: 12px;
font-style: italic;
color: #FFFFFF;
background-color: #666666;
padding: 2px;
}
.replyDate { font-family: <% this.textfont %>;
font-size: 8pt;
line-height: 12px;
font-style: italic;
color: #FFFFFF;
background-color: #999999;
padding: 2px;
}
.commentTitle { font-family: <% this.textfont %>;
margin-top: 5px;
font-size: 11pt;
font-weight: bold;
color: <% this.textcolor %>;
}
.calendar { background-color: #CCCCCC;
border-style: solid;
border-color: black;
border-width: 1px;
}
.calendarHeader { font-family: <% this.textfont %>;
font-size: 8pt;
font-weight: bold;
color: #FFFFFF;
background-color: #666666;
}
.calendarDay { font-size: 8pt;
.calendarDay { font-family: <% this.textfont %>;
font-size: 8pt;
font-weight: normal;
border: 1px solid #666666;
border-style: solid;
border-width: 1px;
border-color: #666666;
text-align: center;
}
.calendarSelectedDay { font-size: 8pt;
.calendarSelectedDay { font-family: <% this.textfont %>;
font-size: 8pt;
font-weight: normal;
border: 1px solid #666666;
background-color: #FFFFFF;
text-align: center;
}
.calendarFooter { font-size: 8pt;
.calendarFooter { font-family: <% this.textfont %>;
font-size: 8pt;
font-weight: bold;
color: #FFFFFF;
background-color: #999999;
}
// -->
</STYLE>
</style>

View file

@ -1,5 +1,5 @@
<TABLE BGCOLOR="#FF9900" BORDER="0" CELLSPACING="0" CELLPADDING="2">
<TR>
<TD NOWRAP><% this.link to="main" text="&bull;&nbsp;home" %></TD>
</TR>
</TABLE>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="headerNavItem" nowrap><% this.link to="main" text="home" %></td>
</tr>
</table>

View file

@ -1 +1,2 @@
<P>This is a completely empty weblog, but who nows? Maybe sometimes ...</P>
<p class="storyTitle">Welcome to <% this.title %>!</p>
<p>This weblog was created <% this.createtime format="EEEE, dd.MM.yyyy HH:mm" %>, and 'til now it doesn't contain any stories. But who knows ...</p>

View file

@ -1,6 +1,6 @@
<FORM METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="proto" VALUE="<% request.proto %>">
<INPUT TYPE="HIDDEN" NAME="name" VALUE="<% request.name %>"><BR>
<% this.skin as="editor" width="70" height="20" wrap="OFF" %><BR>
<form method="post">
<input type="hidden" name="proto" value="<% request.proto %>">
<input type="hidden" name="name" value="<% request.name %>"><br>
<% this.skin as="editor" width="70" height="20" wrap="OFF" %><br>
<% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %>
</FORM>
</form>

View file

@ -1,7 +1,7 @@
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR>
<TD NOWRAP><FONT SIZE="-1"><% this.skins %></FONT></TD>
<TD WIDTH="20" NOWRAP>&nbsp;</TD>
<TD VALIGN="TOP" NOWRAP><% this.skineditor %></TD>
</TR>
</TABLE>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap><font size="-1"><% this.skins %></font></td>
<td width="20" nowrap>&nbsp;</td>
<td valign="top" nowrap><% this.skineditor %></td>
</tr>
</table>

View file

@ -1 +1 @@
<% this.link to="main" text="comment" %>&nbsp;(<% this.commentcounter no=" threads" one=" thread" more=" threads" %>)
<% this.link to="main" text="add your comment!" %>&nbsp;(<% this.commentcounter no=" threads" one=" thread" more=" threads" %>)&nbsp;&nbsp;

View file

@ -1,4 +1,8 @@
<FORM METHOD="POST">
<P>Warning! You are about to delete the Story <B><% this.title %></B>! Be aware of the fact that there is no "undo", so if you klick on delete here the story will be gone forever!</P>
<P><% this.input type="button" value="delete" %>&nbsp;<% this.input type="button" value="cancel" %></P>
</FORM>
<table border="0" width="600" cellspacing="0" cellpadding="0">
<tr>
<td class="storyText"><form method="post"><p class="storyTitle">Warning!</p>
<p>You are about to delete the Story <b>&quot;<% this.title %>&quot;</b>! Be aware of the fact that there is no "undo", so if you klick on delete here the story will be gone forever!</p>
<p><% this.input type="button" value="delete" %>&nbsp;<% this.input type="button" value="cancel" %></p></td>
</tr>
</table>
</form>

View file

@ -1,6 +1,19 @@
<FORM METHOD="POST">
<P>Title: <% this.title as="editor" %></P>
<P>Text: <% this.text as="editor" width="40" height="10" %></P>
<P>is online: <% this.online as="editor" %></P>
<P><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></P>
</FORM>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="storyText" nowrap><form method="post">Title:</td>
<td class="storyText" nowrap><% this.title as="editor" width="40" %></td>
</tr>
<tr>
<td class="storyText" valign="top" nowrap>Text:</td>
<td class="storyText" nowrap><% this.text as="editor" width="40" height="15" %></td>
</tr>
<tr>
<td class="storyText" nowrap>is online:</td>
<td class="storyText" nowrap><% this.online as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></td>
</tr>
</table>
</form>

View file

@ -1 +1 @@
<P><% weblog.loginlink text="login to add your comment!" %></P>
<p><% weblog.loginlink text="login to add your comment!" %></p>

View file

@ -1,6 +1,12 @@
<P><FONT SIZE="-2"><% this.createtime format="EEEE, dd.MM.yyyy" %></FONT><BR>
<B><% this.title %></B><BR>
<% this.text %></P>
<HR>
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="400" valign="top" nowrap>
<p><span class="storyDate"><% story.createtime format="EEEE, dd.MM.yyyy, h:mm a" suffix="<br>"%></span>
<span class="storyTitle"><% story.title suffix="<br>" %></span>
<span class="storyText"><% story.text suffix="<br>&nbsp;<BR>" %></span></p>
<% this.comments %>
<% this.commentform %>
<span class="storyNav"><% this.commentform %></span></td>
<td width="200" align="right" valign="top" nowrap><% weblog.calendar %></td>
</tr>
</table>

View file

@ -1,4 +1,4 @@
<P><FONT SIZE="-2"><% this.createtime format="EEEE, dd.MM.yyyy, HH:mm" suffix=" Uhr"%></FONT><BR>
<SPAN CLASS="title"><% this.title %></SPAN><BR>
<% this.text %>
<% this.commentlink prefix="<BR>" %><% this.editlink prefix="&nbsp;&nbsp;" %><% this.deletelink prefix="&nbsp;&nbsp;" %></P>
<p><span class="storyDate"><% this.createtime format="EEEE, dd.MM.yyyy, h:mm a" suffix="<br>"%></span>
<span class="storyTitle"><% this.title suffix="<br>" %></span>
<span class="storyText"><% this.text suffix="<br>&nbsp;<BR>" %></span>
<span class="storyNav"><% this.commentlink %><% this.editlink suffix="&nbsp;&nbsp;" %><% this.deletelink %></span><br>&nbsp;</p>

View file

@ -9,7 +9,6 @@ day=DAY
title=TITLE
text=TEXT
online=ISONLINE
# postdate=POSTDATE
author=AUTHOR>user.ID
createtime=CREATETIME
modifytime=MODIFYTIME

View file

@ -1,9 +1,31 @@
<FORM METHOD="POST">
<P>Old password:&nbsp;<% this.input type="password" name="oldpwd" %><BR>
New password: <% this.input type="password" name="newpwd1" %><BR>
Confirm password: <% this.input type="password" name="newpwd2" %><BR>
URL:&nbsp;<% currentUser.url as="editor" %><BR>
eMail:&nbsp;<% this.email as="editor" %><BR>
Description:&nbsp;<% this.description as="editor" %><BR>
<% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></P>
</FORM>
<table border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="storyText" nowrap><form method="post">old password:</td>
<td class="storyText" nowrap><% this.input type="password" name="oldpwd" %></td>
</tr>
<tr>
<td class="storyText" nowrap>new password:</td>
<td class="storyText" nowrap><% this.input type="password" name="newpwd1" %></td>
</tr>
<tr>
<td class="storyText" nowrap>confirm password:</td>
<td class="storyText" nowrap><% this.input type="password" name="newpwd2" %></td>
</tr>
<tr>
<td class="storyText" nowrap>url:</td>
<td class="storyText" nowrap><% this.url as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>eMail:</td>
<td class="storyText" nowrap><% this.email as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>description:</td>
<td class="storyText" nowrap><% this.description as="editor" %></td>
</tr>
<tr>
<td class="storyText" nowrap>&nbsp;</td>
<td class="storyText" nowrap><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></td>
</tr>
</table>
</form>