| @@ 54-62 (lines=9) @@ | ||
| 51 | /** |
|
| 52 | * Displays the title + grid |
|
| 53 | */ |
|
| 54 | public function display() |
|
| 55 | { |
|
| 56 | // action links |
|
| 57 | echo '<div class="actions" style="margin-bottom:20px">'; |
|
| 58 | echo '<a href="grade_models.php">'.Display::return_icon('back.png', get_lang('Back'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 59 | echo '<a href="'.api_get_self().'?action=add">'.Display::return_icon('add.png', get_lang('Add'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 60 | echo '</div>'; |
|
| 61 | echo Display::grid_html('grade_model'); |
|
| 62 | } |
|
| 63 | ||
| 64 | /** |
|
| 65 | * Returns a Form validator Obj |
|
| @@ 80-89 (lines=10) @@ | ||
| 77 | /** |
|
| 78 | * Displays the title + grid |
|
| 79 | */ |
|
| 80 | public function display() |
|
| 81 | { |
|
| 82 | echo '<div class="actions" style="margin-bottom:20px">'; |
|
| 83 | echo '<a href="career_dashboard.php">'. |
|
| 84 | Display::return_icon('back.png', get_lang('Back'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 85 | echo '<a href="'.api_get_self().'?action=add">'. |
|
| 86 | Display::return_icon('new_career.png', get_lang('Add'), '', ICON_SIZE_MEDIUM).'</a>'; |
|
| 87 | echo '</div>'; |
|
| 88 | echo Display::grid_html('careers'); |
|
| 89 | } |
|
| 90 | ||
| 91 | /** |
|
| 92 | * @return array |
|