changed git call from https to git readonly
[atutor.git] / mods / job_board / include / html / jb_advance_search_table.tmpl.php
1 <?php echo _AT('jb_search_filter_blub'); ?>
2 <table>
3         <tr>
4                 <td><?php echo _AT('jb_categories'); ?></td>
5                 <td>
6                         <div class="category_box">
7                                 <input type="checkbox" name="jb_search_categories[]" value="0" id="jb_search_category_0" <?php if(!empty($_GET['jb_search_categories']) && in_array(0, $_GET['jb_search_categories'])){echo 'checked="checked"';} ?>/>
8                                 <label for="jb_search_category_0"><?php echo _AT('jb_any_categories');?></label>
9                         </div>
10                         <?php foreach($this->job_obj->getCategories() as $category): ?>
11                         <div class="category_box">
12                                 <?php                                   
13                                         if(!empty($_GET['jb_search_categories'])){
14                                                 if(in_array($category['id'], $_GET['jb_search_categories'])){
15                                                         $jb_search_categories_checked =  'checked="checked"';
16                                                 } else {
17                                                         $jb_search_categories_checked = '';
18                                                 }
19                                         }
20                                 ?>
21                                 <input type="checkbox" name="jb_search_categories[]" value="<?php echo $category['id']; ?>" id="<?php echo 'jb_search_category_'.$category['id']; ?>" <?php echo $jb_search_categories_checked; ?>/>
22                                 <label for="<?php echo 'jb_search_category_'.$category['id']; ?>"><?php echo $this->job_obj->getCategoryNameById($category['id']); ?></label>
23                         </div>
24                         <?php endforeach; ?>
25                 </td>
26         </tr>
27         <tr>
28                 <td><label for="jb_search_bookmark"><?php echo _AT('jb_bookmarks'); ?></td>
29                 <td><input type="checkbox" name="jb_search_bookmark" id="jb_search_bookmark" <?php if($_GET['jb_search_bookmark']!=''){echo 'checked="checked"';} ?> /></td>
30         </tr>
31         <tr>
32                 <td><label for="jb_search_archive"><?php echo _AT('jb_archive'); ?></td>
33                 <td><input type="checkbox" name="jb_search_archive" id="jb_search_archive" <?php if($_GET['jb_search_archive']!=''){echo 'checked="checked"';} ?> /></td>
34         </tr>
35 </table>