%%document-edit-writer-html%%
2002-12-23 23:40

%%preprocess%%
$this->beryliumToForm(); 
$this->getRuntimeVars();

if ($this->id!="") {
	$this->hiddenvars= "<input type='hidden' name='id' value=\"$this->id\">";
	}

if ($this->flavor=="") $this->flavor= "Discussion";
$fflavor= "flavor".str_replace(" ","",$this->flavor);
$this->{$fflavor}= "selected";

$sstatus= "status".$this->status;
$this->{$sstatus}= "selected";
$ppublic= "public".$this->public; 
$this->{$ppublic}= "checked";

// headline fix if only title, and vice-versa
if ($this->title=="" && $this->headline=="") $this->title= "Untitled ($this->name)";
elseif ($this->title=="") $this->title= $this->headline;
elseif ($this->headline=="") $this->headline= $this->title;


%%header%%

%%css%%


%%template%%
<table class='objTable' cellspacing=5 cellpadding=5>
	<tr>
		<td>
			<table class='objHeader'>
				<tr>
					<td width='1' valign='middle'>$this->iconTag</td>
					<td>
						<span class='objFlavor'>$this->flavor:<br></span>
						<span class='objTitle'><a href="$this->baseUrl">$this->title</a></span>
						<span class='objByline'> <br> 
							By $this->authorTag (#$this->sitememberid) on $this->dateTag.</span>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<form method='post' action='$this->baseURL?method=save$session->cgi' class='form'>
$this->hiddenvars
<table border='0' class='editTable'>
<tr> 
	<td colspan='2'> 
		<p>&nbsp; <b>Tip:</b> to blank-out a field that previously had something in it, use a single space.</p>
	</td>
</tr>
<tr> 
	<td align='right' valign='top'>Character Name:</td>
	<td valign='top'><input type='text' name='title' size='42' maxlength='255' value="$this->title"></td>
</tr>
<tr>
	<td align='right' valign='top'>Character Intro:</td>
	<td valign='top'>(<a href='http://berylium.org/berylium/docs/quickbml.html' target='_blank'>bml</a> capable)</td>
</tr>
<tr>
	<td colspan='2' align='right'><textarea name='description' cols='60' rows='10'>$this->description</textarea></td>
</tr>
<tr>
	<td align='right' valign='top'>Character Bio:</td>
	<td valign='top'>(<a href='http://berylium.org/berylium/docs/quickbml.html' target='_blank'>bml</a> capable)</td>
</tr>
<tr>
	<td colspan='2' align='right'><textarea name='body' cols='60' rows='18'>$this->body</textarea></td>
</tr>
<tr>
	<td colspan=2 align='center'>
		<p>&nbsp</p>
		<table class='infoBar'>
			<tr>
				<td>Use the <tt>save</tt> button to save your work periodically.</td>
				<td align="right"><a href="#top">top</a>&nbsp; <input type='submit' name='submit' value='update' class='buttonstyle' title='Save, then view finished document'> <input type='submit' name='submit' value='save' class='buttonstyle' title='Save, then continue editing'></td>
			</tr>
		</table>
	</td>
</tr>
</table>
</form>

%%listrow%%

%%nullobject%%
<img src='/bicons/warning.png' alt='Warning' align=absmiddle> Sorry, that document is not available for editing. 

%%footer%%

%%postprocess%%

%%end of context%%
