3 if (defined('ON_EDIT')) {
6 $title = "Insert News";
9 <?php
echo "<h1>$title</h1>"; ?
>
10 <p
><a href
="index.php">back to home
</a
></p
>
12 if ($this->password_fail
) {
13 echo "<div id=\"notice\">Can't login. Please check your password.</div>";
15 if (isset($this->updated
) && $this->updated
== true) {
17 <p
>Post fully updated
.</p
>
23 <form action
="<?php echo $this->action ?>" method
="post">
24 <input type
="text" name
="title" value
="<?php echo $this->input_title ?>" size
="80" /><br
/>
25 <textarea name
="text" id
="text" cols
="80" rows
="23"><?php
echo $this->input_text ?
></textarea
>
27 news documents are written using
<a href
="http://daringfireball.net/projects/markdown/syntax">Markdown syntax
</a
>.
31 <strong
>Password
:</strong
> <input type
='password' name
='password' size
='20'/><br
/>
32 <input type
="submit" value
="Share" />