示例#1
0
	
	<p>
		<label for="content">Post content:</label><br />
		<textarea cols="77" rows="10" id="content" name="data[post_content]"><?php 
echo htmlspecialchars(stripslashes($post['post_content']));
?>
</textarea><br />
		<span class="form-text">To format just use raw HTML.. &lt;strong&gt;, &lt;span&gt;, etc</span>
	</p>
	
	
	<p>
		<label for="status">Post status:</label><br />
		<select id="status" name="data[published]">
			<?php 
echo generate_option_list(array('0' => 'Unpublished', '1' => 'Published'), $post['published']);
?>
		</select>
	</p>
	
	<p>
		<input class="button" type="submit" name="miniblog_PostBack" value="<?php 
echo ucfirst($mode);
?>
" />
	</p>
	
	
	
</div>
示例#2
0
" />
        <input type="hidden" size="80" id="pagina" name="data[pagina]" value="0" />
	</p>
	
	<p>
		<label for="content"><?php 
echo _CONTEUDO;
?>
</label><br />
		<textarea style="height: 190px;" cols="150" id="content" name="data[conteudo]"><?php 
echo htmlspecialchars(stripslashes($post['conteudo']));
?>
</textarea><br />
	</br>
		<label for="status"><?php 
echo _POSTSTATUS;
?>
</label><br />
		<select id="status" name="data[publicado]">
			<?php 
echo generate_option_list(array('0' => '' . _POSTNOTPUB . '', '1' => '' . _POSTPUB . ''), $post['publicado']);
?>
		</select>
    </p>
	<p>
		<input class="button" type="submit" name="form_edit" value="<?php 
echo ucfirst($mode);
?>
" />
	</p>
</div>