chiark / gitweb /
wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 30 Aug 2012 01:30:25 +0000 (02:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 30 Aug 2012 01:30:25 +0000 (02:30 +0100)
mason/main

index 07a5efe..b70a3de 100755 (executable)
@@ -60,22 +60,17 @@ $sth->execute();
 % while (my $row= $sth->fetchrow_hashref()) {
 <form action="edit" method="get">
 <h3>Message "<% $row->{'desc'} |h %>"</h3>
-<table>
-<tr><td>Short name:</td><td><% $row->{'desc'} |h %></td></tr>
-<tr><td>Expires:</td><td><%
-  expirestime2show(expires2timet($row->{'expires'}))
-                                              |h %></td></tr>
-%    $sthi->execute($row->{'textid'});
-%    while (my $rowi= $sthi->fetchrow_hashref()) {
-<tr><td>Used for:</td><td><% $rowi->{'emailaddr'} |h %></td></tr>
-%    }
-<tr><td>Subject:</td>
-  <td><code><% $row->{'subject'} |h %></code></td></tr>
-</table>
-<p>
+
+<& txtable, tx => $row &>
+%#    $sthi->execute($row->{'textid'});
+% #   while (my $rowi= $sthi->fetchrow_hashref()) {
+%#<tr><td>Used for:</td><td><% $rowi->{'emailaddr'} |h %></td></tr>
+%#    }
+%#</&>
 <pre>
 <% $row->{'text'} |h %>
 </pre>
+
 <input type="submit" name="t<% $row->{'textid'} %>"
    value="Edit or configure this message">
 % }