%%comment-edit-member-html%%
progmin : / (context #144)
2002-05-29 11:26:41

%%preprocess%%
$this->beryliumToForm(); 
$this->hiddenvars= "
  <input type='hidden' name='id' value=\"$this->id\">";
if ($this->public) $this->public1= "checked";
$sstatus= "status".$this->status;
$this->{$sstatus}= "selected";
$fflavor= "flavor".str_replace(" ","",$this->flavor);
$this->{$fflavor}= "selected";
//$this->selectedflavor= "$fflavor";

if ($foldermember->role=="editor") {
 $this->editorrows= "
    <tr valign='top'> <td align='right'>public:</td>
<td>
<input type='checkbox' name='public' value='1' $this->public1>
</td>
</tr>
<tr valign='top'> <td align='right'>status:</td>
<td> <select name='status'>
<option value='new' $this->statusnew>new</option>
<option value='posted' $this->statusposted>posted</option>
<option value='hidden' $this->statushidden>hidden</option>
<option value='deleted' $this->statusdeleted>deleted</option>
</select>
</td>
</tr>
<tr valign='top'> <td align='right'>rank:</td>
<td> <input type='text' name='rank' size='8' maxlength='8' value='$this->rank'>
</td>
</tr>
";
$this->editauthor= "
<tr valign='top'>
<td align='right'>author:</td>
<td><input type='text' name='author' value='$this->author'></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>Original author was <a href='/berylium/sitemember-$this->sitememberid.html'>sitemember #$this->sitememberid</a>.</td>
</tr>
";
 }










%%header%%







%%css%%







%%template%%
<form method='post' action='$this->baseURL?method=save$session->cgi' class='.form'>
$this->hiddenvars
        <table width='' border='0' cellspacing='0' cellpadding='5' align='center'>
<tr> <td colspan='2'><b>Edit comment by $this->author:</b>
</td>
</tr>
<tr> <td align='right' valign='top'>subject:</td>
<td valign='top'> <input type='text' name='headline' size='42' maxlength='255' value="$this->headline">
</td>
</tr>
<tr> <td colspan='2'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
              <textarea name='body' cols='80' wrap='VIRTUAL' rows='10'>$this->body</textarea>
</td>
</tr>
$this->editauthor
$this->editorrows
          <tr> <td>&nbsp;</td>
<td> <input type='submit' name='Submit2' value='update' class='buttonstyle'>
</td>
</tr>
</table>
</form>




%%listrow%%







%%nullobject%%







%%footer%%







%%postprocess%%





%%end of context%%
