"> <?php if ($model['login_failed']) { ?> <div class="Errors"> <p>Login failed. Please check your username and password are correct and try again.</p> </div> <?php } ?> <?php jabHtmlInput("User Name:", "username", $model["username"], "stdfield"); ?> <?php jabHtmlPassword("Password:"******"password", $model["password"], "stdfield"); ?> <?php jabHtmlHidden("referrer", $model["referrer"]); ?> <div class="clearer"></div> <?php jabHtmlSubmitButton("Login", "submit"); ?> </form> <script type="text/javascript">document.getElementById("username").focus();</script> <br/> <p>Don't have an account? <a href="register">Register Now</a></p>
jabHtmlErrors($model['errors'], "Please correct the following errors:"); ?> <?php // ---------------- Main Edit Form----------------- ?> <form class="mainform" id="theform" method="post" action="<?php echo $_SERVER["REQUEST_URI_CLEAN"]; ?> " enctype="multipart/form-data"> <?php jabHtmlHidden("ID", $model['article']->ID); ?> <?php jabHtmlHidden("Draft", $model['article']->Draft ? "1" : "0"); ?> <?php jabHtmlInput("Title:", "Title", $model['article']->Title, "stdfield"); ?> <?php jabHtmlInput("Date/Time:", "TimeStamp", $model['article']->TimeStamp == 0 ? "" : date('d M Y H:i:s', $model['article']->TimeStamp), "stdfield"); ?> <?php jabHtmlTextArea("Content: (supports <a href=\"http://michelf.com/projects/php-markdown/extra/\">Markdown Extra</a>)", "Content", $model['article']->Content, $class = "stdtextareafield"); ?> <div class="clearer"></div> <?php jabHtmlSubmitButton("Publish", "post");
<?php // ---------------- Main Edit Form----------------- ?> <form class="mainform" id="theform" method="post" action="<?php echo $_SERVER["REQUEST_URI_CLEAN"]; ?> " enctype="multipart/form-data"> <?php jabHtmlHidden("deleteconfirmed", $model['deleteconfirmed']); ?> <?php jabHtmlHidden("file", $model['file']); ?> <?php jabHtmlHidden("referrer", $model['referrer']); ?> <?php jabHtmlTextArea("Content: (supports <a href=\"http://michelf.com/projects/php-markdown/extra/\">Markdown Extra</a>)", "content", $model['content'], $class = "largetextareafield"); ?> <div class="clearer"></div> <?php jabHtmlSubmitButton("Save", "save"); ?> <?php jabHtmlSubmitButton("Cancel", "cancel"); ?> <?php
<?php endif; ?> <?php if ($model['blog']['enableComments'] && !function_exists(jabRenderDisqusLink)): ?> <h3>Leave A Comment</h3> <?php if ($model['preview']): ?> <p class="startpreview">Preview</p> <h2>Comment by <?php echo $model['comment']->Name?></h2> <?php echo $model['comment']->Format() ?> <p class="endpreview">Preview</p> <?php endif; ?> <?php jabHtmlErrors($model['errors'], "Please correct the following errors:") ?> <form class="mainform" id="theform" method="post" action="<?php echo $_SERVER["REQUEST_URI_CLEAN"]?>"> <?php jabHtmlHidden("ID", $model['article']->ID) ?> <?php if (!jabCanUser("author")): ?> <?php jabHtmlInput("Your Name:", "Name", $model['comment']->Name, "stdfield") ?> <?php jabHtmlInput("Email Address: <small>(optional, not shown, used for <a href=\"http://www.gravatar.com\" target=\"_blank\">Gravatar</a>)</small>", "Email", $model['comment']->Email, "stdfield") ?> <?php jabHtmlInput("Website: <small>(optional, nofollow)</small>", "Website", $model['comment']->Website, "stdfield") ?> <?php else: ?> <?php jabHtmlInput("Reply To:", "ReplyTo", $model['ReplyTo'], "stdfield") ?> <?php endif; ?> <?php jabHtmlTextArea("Message: <small>(supports some <a href=\"http://michelf.com/projects/php-markdown/extra/\" target=\"_blank\">Markdown Extra</a>)</small>", "Content", $model['comment']->Content, $class="stdtextareafield") ?> <div class="clearer"></div> <?php if (!jabCanUser("author")): ?> <?php jabRenderCaptcha() ?> <?php endif; ?>