+++ /dev/null
-<?php
-$simple = true;
-if ($_POST['complexeditor'] == '1') {
- $simple = false;
-}
-load_editor($simple, false, "none");
-?>
-<div class="input-form">
- <form name="form" action="" method="post">
- <div class="row">
- <label for="jb_title"><?php echo _AT('jb_title'); ?></label>
- <input type="text" id="jb_title" name="title" />
- </div>
- <div class="row">
- <label><?php echo _AT('categories'); ?></label><br/>
- <?php if(!empty($this->categories)): ?>
- <?php foreach($this->categories as $category): ?>
- <div class="category_box">
- <input type="checkbox" id="jb_category_<?php echo $category['id'];?>" name="jb_categories[]" value="<?php echo $category['id']; ?>" />
- <label for="jb_category_<?php echo $category['id'];?>"><?php echo htmlentities_utf8($category['name']); ?></label>
- </div>
- <?php endforeach; endif; ?>
- <div style="clear:both;"></div>
- </div>
- <div class="row">
- <label for="jb_is_public"><?php echo _AT('jb_is_public'); ?></label>
- <input type="checkbox" id="jb_is_public" name="jb_is_public" ></textarea>
- </div>
- <div class="row">
- <label for="jb_closing_date"><?php echo _AT('jb_closing_date'); ?></label>
- <?php
- //load mysql timestamp template into the template.
- $next_day = time() + 60*60*24;
- $today_day = date('d', $next_day);
- $today_mon = date('m', $next_day);
- $today_year = date('Y', $next_day);
-
- $today_hour = date('H', $next_day);
- $today_min = date('i', $next_day);
-
- //load the release_date template.
- $name = '_jb_closing_date';
- require(AT_INCLUDE_PATH.'html/release_date.inc.php');
- ?>
- </div>
- <div class="row">
- <span class="nowrap">
- <label for="formatting_radios"><span class="required" title="<?php echo _AT('required_field'); ?>">*</span><?php echo _AT('formatting'); ?></label>
- <span id="formatting_radios">
- <input type="radio" name="formatting" value="0" id="text" <?php if ($_POST['formatting'] == 0) { echo 'checked="checked"'; } ?> />
- <label for="text"><?php echo _AT('plain_text'); ?></label>
-
- <input type="radio" name="formatting" value="1" id="html" <?php if ($_POST['formatting'] == 1) { echo 'checked="checked"'; } ?> />
- <label for="html"><?php echo _AT('html'); ?></label>
- </span>
- </span>
- </div>
- <div class="row">
- <span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="jb_description"><?php echo _AT('jb_post_description'); ?></label><br />
- <small>· <?php echo _AT('jb_post_description_note'); ?></small><br />
- <textarea name="jb_description" cols="55" rows="15" id="jb_description"><?php echo $_POST['jb_description']; ?><?php echo $this->job_post['description']; ?></textarea>
- </div>
- <div class="row">
- <input class="button" type="submit" name="submit" value="<?php echo _AT('submit'); ?>"/>
- </div>
- </form>
-</div>