- input_macro() moved from hopobject to global (and echoes request data by default)

- added missing name-attribute for buttons
This commit is contained in:
Robert Gaggl 2002-07-19 08:42:32 +00:00
parent 0b2da64e2a
commit d5823a468a
20 changed files with 38 additions and 38 deletions

View file

@ -3,5 +3,5 @@
<% this.content part="title" as="editor" width="25" style="formTitle" %></p>
<p><span class="small">Text:</span><br />
<% this.content part="text" as="editor" width="31" height="10" style="formText" %></p>
<p><% this.input type="button" name="save" value="save" %>&nbsp;<% this.input type="button" name="cancel" value="cancel" %></p>
<p><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></p>
</form>

View file

@ -1,5 +1,5 @@
<form method="post" action="<% response.action %>">
<p class="storyTitle">Warning!</p>
<p>You are about to delete <% param.what %>! Be aware of the fact that there is no "undo", so if you klick on "delete" here it will be gone forever!</p>
<p><% this.input type="button" name="remove" value="delete" %>&nbsp;<% this.input type="button" name="cancel" value="cancel" %></p>
<p><% input type="button" name="remove" value="delete" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></p>
</form>

View file

@ -2,19 +2,19 @@
<form method="post" action="<% response.action %>">
<tr>
<td class="small" nowrap="nowrap">Username:</td>
<td nowrap="nowrap"><% this.input type="text" name="name" width="15" %></td>
<td nowrap="nowrap"><% input type="text" name="name" width="15" %></td>
</tr>
<tr>
<td class="small" nowrap="nowrap">Password:</td>
<td nowrap="nowrap"><% this.input type="password" name="password" width="15" %></td>
<td nowrap="nowrap"><% input type="password" name="password" width="15" %></td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td class="small" nowrap="nowrap"><% this.input type="checkbox" name="remember" %>remember me</td>
<td class="small" nowrap="nowrap"><% input type="checkbox" name="remember" %>remember me</td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap"><% this.input type="button" name="login" value="login" %></td>
<td nowrap="nowrap"><% input type="button" name="login" value="login" %></td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>

View file

@ -3,8 +3,8 @@
<table border="0" cellspacing="0" cellpadding="0">
<form method="post" action="<% response.action %>">
<tr>
<td nowrap="nowrap"><% this.input type="text" name="keyword" %></td>
<td nowrap="nowrap"><% this.input type="button" value="search" %></td>
<td nowrap="nowrap"><% input type="text" name="keyword" %></td>
<td nowrap="nowrap"><% input type="button" name="search" value="search" %></td>
</tr>
</form>
</table>

View file

@ -2,27 +2,27 @@
<form method="post" action="<% response.action %>">
<tr>
<td class="small" nowrap="nowrap">Username:</td>
<td nowrap="nowrap"><% this.input type="text" name="name" %></td>
<td nowrap="nowrap"><% input type="text" name="name" %></td>
</tr>
<tr>
<td class="small" nowrap="nowrap">Password:</td>
<td nowrap="nowrap"><% this.input type="password" name="password1" %></td>
<td nowrap="nowrap"><% input type="password" name="password1" %></td>
</tr>
<tr>
<td class="small" nowrap="nowrap">type again:</td>
<td nowrap="nowrap"><% this.input type="password" name="password2" %></td>
<td nowrap="nowrap"><% input type="password" name="password2" %></td>
</tr>
<tr>
<td class="small" nowrap="nowrap">eMail:</td>
<td nowrap="nowrap"><% this.input type="text" name="email" %></td>
<td nowrap="nowrap"><% input type="text" name="email" %></td>
</tr>
<tr>
<td class="small" nowrap="nowrap">Url:*</td>
<td nowrap="nowrap"><% this.input type="text" name="url" %></td>
<td nowrap="nowrap"><% input type="text" name="url" %></td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap"><% this.input type="button" name="register" value="register" %>&nbsp;<% this.input type="button" name="cancel" value="cancel" %><br />&nbsp;<br />* = optional</td>
<td nowrap="nowrap"><% input type="button" name="register" value="register" %>&nbsp;<% input type="button" name="cancel" value="cancel" %><br />&nbsp;<br />* = optional</td>
</tr>
</form>
</table>

View file

@ -5,7 +5,7 @@
</tr>
<% response.searchresult %>
<tr>
<td colspan="2" nowrap="nowrap"><% this.input type="button" name="add" value="add to members" %></td>
<td colspan="2" nowrap="nowrap"><% input type="button" name="add" value="add to members" %></td>
</tr>
</form>
</table>

View file

@ -4,11 +4,11 @@
<form method="post" action="<% response.action %>">
<tr>
<td class="small" nowrap="nowrap">eMail:</td>
<td nowrap="nowrap"><% this.input type="text" name="email" %></td>
<td nowrap="nowrap"><% input type="text" name="email" %></td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap"><% this.input type="button" name="send" value="send" %>&nbsp;<% this.input type="button" name="cancel" value="cancel" %></td>
<td nowrap="nowrap"><% input type="button" name="send" value="send" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></td>
</tr>
</form>
</table>

View file

@ -23,7 +23,7 @@
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap"><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></td>
<td nowrap="nowrap"><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></td>
</tr>
</form>
</table>

View file

@ -14,7 +14,7 @@
<% response.choices %>
<tr>
<td nowrap="nowrap"><br /><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="add choice" %>&nbsp;<% this.input type="button" value="cancel" %>
<td nowrap="nowrap"><br /><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" value="add choice" %>&nbsp;<% input type="button" name="cancel" value="cancel" %>
<p class="small"><% this.info %></p></td>
</tr>
</form>

View file

@ -118,7 +118,7 @@
</tr>
<tr>
<td class="small" nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap"><br /><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></td>
<td nowrap="nowrap"><br /><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></td>
</tr>
</form>
</table>

View file

@ -7,15 +7,15 @@
<td nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="3">
<tr>
<td nowrap="nowrap">Title:</td>
<td nowrap="nowrap"><% this.input type="text" name="title" %></td>
<td nowrap="nowrap"><% input name="title" %></td>
</tr>
<tr>
<td nowrap="nowrap">Alias:</td>
<td nowrap="nowrap"><% this.input type="text" name="alias" %></td>
<td nowrap="nowrap"><% input name="alias" %></td>
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap"><% this.input type="button" value="create" %>&nbsp;<% this.input type="button" value="cancel" %></td>
<td nowrap="nowrap"><% input type="button" name="create" value="create" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></td>
</tr>
</table></td>
</tr>

View file

@ -4,7 +4,7 @@
<tr>
<td colspan="4" class="highlight" valign="top"><p><b>Warning!</b> You're about to delete the above weblog. Please mind that this is an irreversible process, and any asset of this weblog will be deleted. Just to remind you: <% this.alias %> currently contains <b><% this.sysmgr_count what="stories" %> stories</b> with <b><% this.sysmgr_count what="comments" %> comments</b>, <b><% this.sysmgr_count what="images" %> images</b> and <b><% this.sysmgr_count what="files" %> files</b>. Also all the subscriptions to this weblog will be removed.</p>
<p><b>Are you sure you want to delete this weblog?</b></p>
<p><% this.input type="button" name="remove" value="yes" %>&nbsp;&nbsp;<% this.input type="button" name="cancel" value="&nbsp;no&nbsp;" %></p></td>
<p><% input type="button" name="remove" value="yes" %>&nbsp;&nbsp;<% input type="button" name="cancel" value="&nbsp;no&nbsp;" %></p></td>
</tr>
<tr>
<td colspan="4" height="5" nowrap="nowrap"></td>

View file

@ -18,7 +18,7 @@
</tr>
<tr>
<td nowrap="nowrap"></td>
<td nowrap="nowrap"><% this.input type="button" name="save" value="save" %>&nbsp;<% this.input type="button" name="cancel" value="cancel" %></td>
<td nowrap="nowrap"><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></td>
</tr>
</table></td>
</tr>

View file

@ -2,5 +2,5 @@
<p><input type="hidden" name="proto" value="<% request.proto %>">
<input type="hidden" name="name" value="<% request.name %>"><br />
<% this.skin as="editor" width="50" height="25" wrap="virtual" style="formWide" %></p>
<p><% this.input type="button" name="save" value="save" %>&nbsp;<% this.input type="button" name="cancel" value="cancel" %></p>
<p><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></p>
</form>

View file

@ -81,7 +81,7 @@
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;<br /><% this.input type="button" name="save" value="save" %>&nbsp;<% this.input type="button" name="cancel" value="cancel" %></td>
<td>&nbsp;<br /><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></td>
</tr>
</table>
</form>

View file

@ -17,11 +17,11 @@
</tr>
<tr>
<td>...&nbsp;keyword(s)</td>
<td nowrap="nowrap"><% this.input name="keywords" %></td>
<td nowrap="nowrap"><% input name="keywords" %></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><% this.input type="button" name="search" value="show sites" %></td>
<td><% input type="button" name="search" value="show sites" %></td>
</tr>
</form>
</table>

View file

@ -13,11 +13,11 @@
</tr>
<tr>
<td>...&nbsp;keyword(s)</td>
<td nowrap="nowrap"><% this.input name="keywords" %></td>
<td nowrap="nowrap"><% input name="keywords" %></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><% this.input type="button" name="search" value="show log-entries" %></td>
<td><% input type="button" name="search" value="show log-entries" %></td>
</tr>
</form>
</table>

View file

@ -17,11 +17,11 @@
</tr>
<tr>
<td>...&nbsp;keyword(s)</td>
<td nowrap="nowrap"><% this.input name="keywords" %></td>
<td nowrap="nowrap"><% input name="keywords" %></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><% this.input type="button" name="search" value="show users" %></td>
<td><% input type="button" name="search" value="show users" %></td>
</tr>
</form>
</table>

View file

@ -2,15 +2,15 @@
<form method="post">
<tr>
<td class="small" nowrap="nowrap">old password:</td>
<td nowrap="nowrap"><% this.input type="password" name="oldpwd" %></td>
<td nowrap="nowrap"><% input type="password" name="oldpwd" %></td>
</tr>
<tr>
<td class="small" nowrap="nowrap">new password:</td>
<td nowrap="nowrap"><% this.input type="password" name="newpwd1" %></td>
<td nowrap="nowrap"><% input type="password" name="newpwd1" %></td>
</tr>
<tr>
<td class="small" nowrap="nowrap">confirm password:</td>
<td nowrap="nowrap"><% this.input type="password" name="newpwd2" %></td>
<td nowrap="nowrap"><% input type="password" name="newpwd2" %></td>
</tr>
<tr>
<td class="small" nowrap="nowrap">url:</td>
@ -22,7 +22,7 @@
</tr>
<tr>
<td nowrap="nowrap">&nbsp;</td>
<td nowrap="nowrap"><% this.input type="button" value="save" %>&nbsp;<% this.input type="button" value="cancel" %></td>
<td nowrap="nowrap"><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></td>
</tr>
</form>
</table>

View file

@ -22,7 +22,7 @@
</tr>
<tr>
<td nowrap="nowrap"></td>
<td nowrap="nowrap"><% this.input type="button" name="save" value="save" %>&nbsp;<% this.input type="button" name="cancel" value="cancel" %></td>
<td nowrap="nowrap"><% input type="button" name="save" value="save" %>&nbsp;<% input type="button" name="cancel" value="cancel" %></td>
</tr>
</table></td>
</tr>