Location: PHPKode > projects > Blite > blite-0.1-beta6/blite/themes/default/templates/sub_post.tpl
<script type='text/javascript' src='js/ed-blite.js'></script>  
<script type='text/javascript'>
var buttons = new Array ( );

// Buttonbar config ------------------------------------------------------------
// Each tag button has 4 parameters: "opentag", "closetag", "label", "tooltip"
// Key words for spacing used in place of "opentag": "space" inserts horizontal
// spacing; "break" starts a new button row.
// Key words for special buttons: "striptags" and "togglewrap".

buttons[0]  = new Array ( "<p>", "</p>", "p", "Paragraph" );
buttons[1]  = new Array ( "<pre>", "</pre>", "pre", "Preformatted" );
buttons[2]  = new Array ( "<ol>", "</ol>", "ol", "Numbered List" );
buttons[3]  = new Array ( "<ul>", "</ul>", "ul", "Bulleted List" );
buttons[4]  = new Array ( "<blockquote>", "</blockquote>", "bq", "Blockquote" );
buttons[5]  = new Array ( "space", "", "", "" );
buttons[6]  = new Array ( "<b>", "</b>", "b", "Bold" );
buttons[7]  = new Array ( "<i>", "</i>", "i", "Italic" );
buttons[8]  = new Array ( "<del>", "</del>", "del", "Strike through" );
buttons[9]  = new Array ( "<code>", "</code>", "code", "Code" );
buttons[10] = new Array ( "<a>", "</a>", "a", "Link" );
buttons[11] = new Array ( "<img>", "", "img", "Image" );
buttons[12] = new Array ( "space", "", "", "" );
buttons[13] = new Array ( "striptags", "", "strip", " Strip tags" );
buttons[14] = new Array ( "togglewrap", "", "wrap", " Toggle wordwrap" );

// Start a new button row.
//buttons[15] = new Array ( "break", "", "", "" );

// You can use attributes. Quote the attribute data with SINGLE quotes, 
// and escape those quotes with TWO backslashes.
//buttons[16]  = new Array ( "<p class=\\'yellowbox\\'>", "</p>", "py", "Paragraph, Yellow box" );
//buttons[17]  = new Array ( "<a target=\\'_blank\\'>", "</a>", "a-nw", "Link, New window" );

// End config ------------------------------------------------------------------

</script>

#infobar#

#error#

<form method='post' action='post.php' name='commentform'>

<div class='main' id='left'>

<div class='in'><input type='text' name='posttitle' id='posttitle' maxlength=200 value="#posttitle#"></div>

<div class='postin'>
<script type='text/javascript'>edToolbar('postbody',buttons);</script>
<textarea name='postbody' id='postbody' rows=10 cols=50 class='ed' wrap='soft'>#postbody#</textarea>
</div>

<div class='buttons'>#savedraft# <input type='submit' name='save' value='#savelabel#'></div>
<input type='hidden' name='postid' value='#postid#'>
<input type='hidden' name='nonce' value='#nonce#'>
<input type='hidden' name='stamp' value='#stamp#'>

</div>

<div class='sidebar' id='right'>
<div class='categories'>

#categories#
<div class='newcat'>
<div>New category:</div>
<div><input type='text' name='newcat' value="#newcat#"></div>
</div>

</div>
</div>

</form>

Return current item: Blite