
%%client-edit-editor-html%%
chateau : /clients (context85)
2002-03-09 19:29:17


%%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";

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>
    ";
    }








%%header%%








%%css%%








%%template%%
<form method='post' action='$this->baseURL?method=save$session->cgi' class='.form'>
$this->hiddenvars
<table>
<tr> 
    <td colspan='2'><b>Edit client:</b></td>
</tr>
<tr> 
    <td align='right' valign='top'>name:</td>
    <td valign='top'><input type='text' name='name' size='42' maxlength='255' value="$this->name"></td>
</tr>
<tr> 
    <td align='right' valign='top'>hostname:</td>
    <td valign='top'><input type='text' name='hostname' size='42' maxlength='255' value="$this->hostname"></td>
</tr>
<tr> 
    <td align='right' valign='top'>login username:</td>
    <td valign='top'><input type='text' name='username' size='42' maxlength='255' value="$this->username"></td>
</tr>
<tr> 
    <td align='right' valign='top'>password:</td>
    <td valign='top'><input type='password' name='password' size='42' maxlength='255' value="$this->password"></td>
</tr>
<tr>
    <td>{image:$this->imageid;150,150}</td>
    <td>imageid: <input type='text' name='imageid' size='10' maxlength='255' value="$this->imageid"><br>
    &nbsp; &nbsp; <a href='$folder->baseURL/image-.html?method=listall$session->cgi' target='_blank'>Select an image</a>
    </td>
</tr>
$this->editorrows
<tr> 
    <td>&nbsp;</td>
    <td><input type='submit' name='Submit2' value='update' class='buttonstyle'></td>
</tr>
</table>
</form>








%%listrow%%








%%nullobject%%
Client not found.








%%footer%%








%%postprocess%%






%%end of context%%