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

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

//$this->name= date("Ymd").".".substr(uniqid(""),-4);

if ($this->id!="") {
	$this->hiddenvars= "<input type='hidden' name='id' value=\"$this->id\">";
	}
if ($sitemember->role=="member") $this->hiddenvars.= "<input type='hidden' name='name' value='$this->name'>
		<input type='hidden' name='status' value='posted'>
		<input type='hidden' name='public' value='1'>
		<input type='hidden' name='rank' value='100'>";

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

if ($this->status=="") $this->status= "posted";
if ($this->public=="") $this->public= 1;
if ($this->rank=="") $this->rank= 100;

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

$this->imageidTag= "<img src='/bicons/document$this->iconpvt.gif' align='right'>";
$this->realAuthorTag= bparsebml("[sitemember:$sitemember->id]");

%%header%%


%%css%%


%%template%%
<img src='/bicons/warning.png' alt='Warning' align=absmiddle> You seem to be in the wrong place. <a href='$session->refreshUrl?method=edit&$session->cgi'>Try this page</a> instead.



%%listrow%%
 



%%nullobject%%
<table class='objTable' cellspacing=5 cellpadding=5>
	<tr>
		<td>
			<table class='objHeader'>
				<tr>
					<td width='1' valign='middle'><img src='/bicons/document.gif'></td>
					<td>
						
						<span class='objTitle'><a href="$this->baseUrl">New Character</a> in <a href='$folder->baseUrl'>$folder->name</a></span>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<form method='post' action='$this->baseURL?method=save$session->cgi' class='.form'>
$this->hiddenvars
<input type='hidden' name='flavor' value='Character'>
<table border='0' class='editTable'>
<tr> 
	<td align='right' valign='top'>Chracter 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 Introduction:</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 Biography:</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>You may continue editing this Character after you create it.</td>
				<td align="right"><input type='submit' name='submit' value='create' class='buttonstyle' title='Save new discussion'></td>
			</tr>
		</table>
	</td>
</tr>
</table>
</form>

%%footer%%




%%postprocess%%




%%end of context%%
