@@ -18,30 +18,30 @@ |
||
| 18 | 18 | $language_oral_proficiency = get_input('ilop'); |
| 19 | 19 | |
| 20 | 20 | if (elgg_is_sticky_form('lsdropfill')) { |
| 21 | - extract(elgg_get_sticky_values('lsdropfill')); |
|
| 22 | - // elgg_clear_sticky_form('thirdfill'); |
|
| 21 | + extract(elgg_get_sticky_values('lsdropfill')); |
|
| 22 | + // elgg_clear_sticky_form('thirdfill'); |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | $input_written_comprehension = elgg_view('input/dropdown', array( |
| 26 | - 'name' => 'lwc', |
|
| 27 | - 'value' => $language_written_comprehension, |
|
| 28 | - 'options' => $array, |
|
| 29 | - 'class' => 'language-dropdown', |
|
| 30 | - 'id' => 'single-language-written-comprehension-dropdown-input' |
|
| 26 | + 'name' => 'lwc', |
|
| 27 | + 'value' => $language_written_comprehension, |
|
| 28 | + 'options' => $array, |
|
| 29 | + 'class' => 'language-dropdown', |
|
| 30 | + 'id' => 'single-language-written-comprehension-dropdown-input' |
|
| 31 | 31 | )); |
| 32 | 32 | $input_written_expression = elgg_view('input/dropdown', array( |
| 33 | - 'name' => 'lwe', |
|
| 34 | - 'value' => $language_written_expression, |
|
| 35 | - 'options' => $array, |
|
| 36 | - 'class' => 'language-dropdown', |
|
| 37 | - 'id' => 'single-language-written-expression-dropdown-input' |
|
| 33 | + 'name' => 'lwe', |
|
| 34 | + 'value' => $language_written_expression, |
|
| 35 | + 'options' => $array, |
|
| 36 | + 'class' => 'language-dropdown', |
|
| 37 | + 'id' => 'single-language-written-expression-dropdown-input' |
|
| 38 | 38 | )); |
| 39 | 39 | $input_oral_proficiency = elgg_view('input/dropdown', array( |
| 40 | - 'name' => 'lop', |
|
| 41 | - 'value' => $language_oral_proficiency, |
|
| 42 | - 'options' => $array, |
|
| 43 | - 'class' => 'language-dropdown', |
|
| 44 | - 'id' => 'single-language-oral-proficiency-dropdown-input' |
|
| 40 | + 'name' => 'lop', |
|
| 41 | + 'value' => $language_oral_proficiency, |
|
| 42 | + 'options' => $array, |
|
| 43 | + 'class' => 'language-dropdown', |
|
| 44 | + 'id' => 'single-language-oral-proficiency-dropdown-input' |
|
| 45 | 45 | )); |
| 46 | 46 | ?> |
| 47 | 47 | |
@@ -56,8 +56,8 @@ |
||
| 56 | 56 | 'limit' => $max, |
| 57 | 57 | 'pagination' => true, |
| 58 | 58 | 'list_type' => 'gallery', |
| 59 | - 'gallery_class'=>'wb-eqht', |
|
| 60 | - 'item_class'=>'col-sm-6 col-md-4 ', |
|
| 59 | + 'gallery_class'=>'wb-eqht', |
|
| 60 | + 'item_class'=>'col-sm-6 col-md-4 ', |
|
| 61 | 61 | |
| 62 | 62 | 'mission_full_view' => false |
| 63 | 63 | ), $offset, $max) . '</div>'; |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | 'class' => 'gcconnex-opt-in-access' |
| 24 | 24 | ); |
| 25 | 25 | //echo elgg_view ( 'input/access', $params ); |
| 26 | - echo elgg_view('input/hidden', $params); |
|
| 26 | + echo elgg_view('input/hidden', $params); |
|
| 27 | 27 | |
| 28 | 28 | // Decides whether or not the checkbox should start checked. |
| 29 | 29 | |
@@ -42,27 +42,27 @@ discard block |
||
| 42 | 42 | <ul class="brdr-lft clearfix mrgn-lft-md list-unstyled"> |
| 43 | 43 | <li class="clearfix pull-left mrgn-lft-md"> |
| 44 | 44 | <?php |
| 45 | - echo elgg_view ( "input/checkbox", array ( |
|
| 46 | - 'name' => 'mission_check', |
|
| 47 | - 'checked' => true, |
|
| 48 | - 'id' => 'gcconnex-opt-in-mission-check', |
|
| 49 | - 'class'=>'pull-left', |
|
| 50 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 51 | - )); |
|
| 45 | + echo elgg_view ( "input/checkbox", array ( |
|
| 46 | + 'name' => 'mission_check', |
|
| 47 | + 'checked' => true, |
|
| 48 | + 'id' => 'gcconnex-opt-in-mission-check', |
|
| 49 | + 'class'=>'pull-left', |
|
| 50 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 51 | + )); |
|
| 52 | 52 | |
| 53 | - ?> |
|
| 53 | + ?> |
|
| 54 | 54 | </li> |
| 55 | 55 | <li class="clearfix pull-left mrgn-lft-md"> |
| 56 | 56 | <?php |
| 57 | - echo elgg_view ( "input/checkbox", array ( |
|
| 58 | - 'name' => 'missioncreate_check', |
|
| 59 | - 'checked' => true, |
|
| 60 | - 'id' => 'gcconnex-opt-in-mentoringcreater-check', |
|
| 61 | - 'class'=>'pull-left', |
|
| 62 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 63 | - )); |
|
| 57 | + echo elgg_view ( "input/checkbox", array ( |
|
| 58 | + 'name' => 'missioncreate_check', |
|
| 59 | + 'checked' => true, |
|
| 60 | + 'id' => 'gcconnex-opt-in-mentoringcreater-check', |
|
| 61 | + 'class'=>'pull-left', |
|
| 62 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 63 | + )); |
|
| 64 | 64 | |
| 65 | - ?> |
|
| 65 | + ?> |
|
| 66 | 66 | </li> |
| 67 | 67 | </ul> |
| 68 | 68 | </li> |
@@ -73,27 +73,27 @@ discard block |
||
| 73 | 73 | <ul class="clearfix brdr-lft mrgn-lft-md list-unstyled"> |
| 74 | 74 | <li class="clearfix pull-left mrgn-lft-md"> |
| 75 | 75 | <?php |
| 76 | - echo elgg_view ( "input/checkbox", array ( |
|
| 77 | - 'name' => 'assignseek_check', |
|
| 78 | - 'checked' => true, |
|
| 79 | - 'id' => 'gcconnex-opt-in-swap-check', |
|
| 80 | - 'class'=>'pull-left', |
|
| 81 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 82 | - )); |
|
| 76 | + echo elgg_view ( "input/checkbox", array ( |
|
| 77 | + 'name' => 'assignseek_check', |
|
| 78 | + 'checked' => true, |
|
| 79 | + 'id' => 'gcconnex-opt-in-swap-check', |
|
| 80 | + 'class'=>'pull-left', |
|
| 81 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 82 | + )); |
|
| 83 | 83 | |
| 84 | - ?> |
|
| 84 | + ?> |
|
| 85 | 85 | </li> |
| 86 | 86 | <li class="clearfix pull-left mrgn-lft-md"> |
| 87 | 87 | <?php |
| 88 | - echo elgg_view ( "input/checkbox", array ( |
|
| 89 | - 'name' => 'assigncreate_check', |
|
| 90 | - 'checked' => true, |
|
| 91 | - 'id' => 'gcconnex-opt-in-swap-check', |
|
| 92 | - 'class'=>'pull-left', |
|
| 93 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 94 | - )); |
|
| 88 | + echo elgg_view ( "input/checkbox", array ( |
|
| 89 | + 'name' => 'assigncreate_check', |
|
| 90 | + 'checked' => true, |
|
| 91 | + 'id' => 'gcconnex-opt-in-swap-check', |
|
| 92 | + 'class'=>'pull-left', |
|
| 93 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 94 | + )); |
|
| 95 | 95 | |
| 96 | - ?> |
|
| 96 | + ?> |
|
| 97 | 97 | </li> |
| 98 | 98 | </ul> |
| 99 | 99 | </li> |
@@ -104,55 +104,55 @@ discard block |
||
| 104 | 104 | <ul class="clearfix brdr-lft mrgn-lft-md list-unstyled"> |
| 105 | 105 | <li class="clearfix pull-left mrgn-lft-md"> |
| 106 | 106 | <?php |
| 107 | - echo elgg_view ( "input/checkbox", array ( |
|
| 108 | - 'name' => 'deploymentseek_check', |
|
| 109 | - 'checked' => true, |
|
| 110 | - 'id' => 'gcconnex-opt-in-swap-check', |
|
| 111 | - 'class'=>'pull-left', |
|
| 112 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 113 | - )); |
|
| 107 | + echo elgg_view ( "input/checkbox", array ( |
|
| 108 | + 'name' => 'deploymentseek_check', |
|
| 109 | + 'checked' => true, |
|
| 110 | + 'id' => 'gcconnex-opt-in-swap-check', |
|
| 111 | + 'class'=>'pull-left', |
|
| 112 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 113 | + )); |
|
| 114 | 114 | |
| 115 | - ?> |
|
| 115 | + ?> |
|
| 116 | 116 | </li> |
| 117 | 117 | <li class="clearfix pull-left mrgn-lft-md"> |
| 118 | 118 | <?php |
| 119 | - echo elgg_view ( "input/checkbox", array ( |
|
| 120 | - 'name' => 'deploymentcreate_check', |
|
| 121 | - 'checked' => true, |
|
| 122 | - 'id' => 'gcconnex-opt-in-swap-check', |
|
| 123 | - 'class'=>'pull-left', |
|
| 124 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 125 | - )); |
|
| 119 | + echo elgg_view ( "input/checkbox", array ( |
|
| 120 | + 'name' => 'deploymentcreate_check', |
|
| 121 | + 'checked' => true, |
|
| 122 | + 'id' => 'gcconnex-opt-in-swap-check', |
|
| 123 | + 'class'=>'pull-left', |
|
| 124 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 125 | + )); |
|
| 126 | 126 | |
| 127 | - ?> |
|
| 127 | + ?> |
|
| 128 | 128 | </li> |
| 129 | 129 | </ul> |
| 130 | 130 | </li> |
| 131 | 131 | |
| 132 | 132 | <li class="clearfix"> |
| 133 | 133 | <?php |
| 134 | - echo elgg_view ( "input/checkbox", array ( |
|
| 135 | - 'name' => 'swap_check', |
|
| 136 | - 'checked' => true, |
|
| 137 | - 'id' => 'gcconnex-opt-in-swap-check', |
|
| 138 | - 'class'=>'pull-left', |
|
| 139 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:job_swap' ), |
|
| 140 | - )); |
|
| 134 | + echo elgg_view ( "input/checkbox", array ( |
|
| 135 | + 'name' => 'swap_check', |
|
| 136 | + 'checked' => true, |
|
| 137 | + 'id' => 'gcconnex-opt-in-swap-check', |
|
| 138 | + 'class'=>'pull-left', |
|
| 139 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:job_swap' ), |
|
| 140 | + )); |
|
| 141 | 141 | |
| 142 | - ?> |
|
| 142 | + ?> |
|
| 143 | 143 | </li> |
| 144 | 144 | |
| 145 | 145 | <li class="clearfix"> |
| 146 | 146 | <?php |
| 147 | - echo elgg_view ( "input/checkbox", array ( |
|
| 148 | - 'name' => 'rotation_check', |
|
| 149 | - 'checked' => true, |
|
| 150 | - 'id' => 'gcconnex-opt-in-swap-check', |
|
| 151 | - 'class'=>'pull-left', |
|
| 152 | - 'label'=>elgg_echo ( 'missions:job_rotation' ), |
|
| 153 | - )); |
|
| 147 | + echo elgg_view ( "input/checkbox", array ( |
|
| 148 | + 'name' => 'rotation_check', |
|
| 149 | + 'checked' => true, |
|
| 150 | + 'id' => 'gcconnex-opt-in-swap-check', |
|
| 151 | + 'class'=>'pull-left', |
|
| 152 | + 'label'=>elgg_echo ( 'missions:job_rotation' ), |
|
| 153 | + )); |
|
| 154 | 154 | |
| 155 | - ?> |
|
| 155 | + ?> |
|
| 156 | 156 | </li> |
| 157 | 157 | |
| 158 | 158 | |
@@ -170,28 +170,28 @@ discard block |
||
| 170 | 170 | <ul class="clearfix brdr-lft mrgn-lft-md list-unstyled"> |
| 171 | 171 | <li class="clearfix pull-left mrgn-lft-md"> |
| 172 | 172 | <?php |
| 173 | - echo elgg_view ( "input/checkbox", array ( |
|
| 174 | - 'name' => 'mentored_check', |
|
| 175 | - 'checked' => true, |
|
| 176 | - 'id' => 'gcconnex-opt-in-mentoring-check', |
|
| 177 | - 'class'=>'pull-left', |
|
| 178 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:mentored' ), |
|
| 179 | - )); |
|
| 173 | + echo elgg_view ( "input/checkbox", array ( |
|
| 174 | + 'name' => 'mentored_check', |
|
| 175 | + 'checked' => true, |
|
| 176 | + 'id' => 'gcconnex-opt-in-mentoring-check', |
|
| 177 | + 'class'=>'pull-left', |
|
| 178 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:mentored' ), |
|
| 179 | + )); |
|
| 180 | 180 | |
| 181 | - ?> |
|
| 181 | + ?> |
|
| 182 | 182 | </li> |
| 183 | 183 | |
| 184 | 184 | <li class="clearfix pull-left mrgn-lft-md"> |
| 185 | 185 | <?php |
| 186 | - echo elgg_view ( "input/checkbox", array ( |
|
| 187 | - 'name' => 'mentoring_check', |
|
| 188 | - 'checked' => true, |
|
| 189 | - 'id' => 'gcconnex-opt-in-mentored-check', |
|
| 190 | - 'class'=>'pull-left', |
|
| 191 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:mentoring' ), |
|
| 192 | - )); |
|
| 186 | + echo elgg_view ( "input/checkbox", array ( |
|
| 187 | + 'name' => 'mentoring_check', |
|
| 188 | + 'checked' => true, |
|
| 189 | + 'id' => 'gcconnex-opt-in-mentored-check', |
|
| 190 | + 'class'=>'pull-left', |
|
| 191 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:mentoring' ), |
|
| 192 | + )); |
|
| 193 | 193 | |
| 194 | - ?> |
|
| 194 | + ?> |
|
| 195 | 195 | </li> |
| 196 | 196 | </ul> |
| 197 | 197 | </li> |
@@ -202,28 +202,28 @@ discard block |
||
| 202 | 202 | <ul class="clearfix brdr-lft mrgn-lft-md list-unstyled"> |
| 203 | 203 | <li class="clearfix pull-left mrgn-lft-md"> |
| 204 | 204 | <?php |
| 205 | - echo elgg_view ( "input/checkbox", array ( |
|
| 206 | - 'name' => 'shadowing_check', |
|
| 207 | - 'checked' => true, |
|
| 208 | - 'id' => 'gcconnex-opt-in-shadowing-check', |
|
| 209 | - 'class'=>'pull-left', |
|
| 210 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 211 | - )); |
|
| 205 | + echo elgg_view ( "input/checkbox", array ( |
|
| 206 | + 'name' => 'shadowing_check', |
|
| 207 | + 'checked' => true, |
|
| 208 | + 'id' => 'gcconnex-opt-in-shadowing-check', |
|
| 209 | + 'class'=>'pull-left', |
|
| 210 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 211 | + )); |
|
| 212 | 212 | |
| 213 | - ?> |
|
| 213 | + ?> |
|
| 214 | 214 | </li> |
| 215 | 215 | |
| 216 | 216 | <li class="clearfix pull-left mrgn-lft-md"> |
| 217 | 217 | <?php |
| 218 | - echo elgg_view ( "input/checkbox", array ( |
|
| 219 | - 'name' => 'shadowed_check', |
|
| 220 | - 'checked' => true, |
|
| 221 | - 'id' => 'gcconnex-opt-in-shadowed-check', |
|
| 222 | - 'class'=>'pull-left', |
|
| 223 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 224 | - )); |
|
| 218 | + echo elgg_view ( "input/checkbox", array ( |
|
| 219 | + 'name' => 'shadowed_check', |
|
| 220 | + 'checked' => true, |
|
| 221 | + 'id' => 'gcconnex-opt-in-shadowed-check', |
|
| 222 | + 'class'=>'pull-left', |
|
| 223 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 224 | + )); |
|
| 225 | 225 | |
| 226 | - ?> |
|
| 226 | + ?> |
|
| 227 | 227 | </li> |
| 228 | 228 | </ul> |
| 229 | 229 | </li> |
@@ -235,28 +235,28 @@ discard block |
||
| 235 | 235 | <ul class="brdr-lft clearfix mrgn-lft-md list-unstyled"> |
| 236 | 236 | <li class="clearfix pull-left mrgn-lft-md"> |
| 237 | 237 | <?php |
| 238 | - echo elgg_view ( "input/checkbox", array ( |
|
| 239 | - 'name' => 'skillseeker_check', |
|
| 240 | - 'checked' => true, |
|
| 241 | - 'id' => 'gcconnex-opt-in-shadowing-check', |
|
| 242 | - 'class'=>'pull-left', |
|
| 243 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 244 | - )); |
|
| 238 | + echo elgg_view ( "input/checkbox", array ( |
|
| 239 | + 'name' => 'skillseeker_check', |
|
| 240 | + 'checked' => true, |
|
| 241 | + 'id' => 'gcconnex-opt-in-shadowing-check', |
|
| 242 | + 'class'=>'pull-left', |
|
| 243 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 244 | + )); |
|
| 245 | 245 | |
| 246 | - ?> |
|
| 246 | + ?> |
|
| 247 | 247 | </li> |
| 248 | 248 | |
| 249 | 249 | <li class="clearfix pull-left mrgn-lft-md"> |
| 250 | 250 | <?php |
| 251 | - echo elgg_view ( "input/checkbox", array ( |
|
| 252 | - 'name' => 'skillcreator_check', |
|
| 253 | - 'checked' => true, |
|
| 254 | - 'id' => 'gcconnex-opt-in-shadowing-check', |
|
| 255 | - 'class'=>'pull-left', |
|
| 256 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 257 | - )); |
|
| 251 | + echo elgg_view ( "input/checkbox", array ( |
|
| 252 | + 'name' => 'skillcreator_check', |
|
| 253 | + 'checked' => true, |
|
| 254 | + 'id' => 'gcconnex-opt-in-shadowing-check', |
|
| 255 | + 'class'=>'pull-left', |
|
| 256 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 257 | + )); |
|
| 258 | 258 | |
| 259 | - ?> |
|
| 259 | + ?> |
|
| 260 | 260 | </li> |
| 261 | 261 | </ul> |
| 262 | 262 | </li> |
@@ -268,42 +268,42 @@ discard block |
||
| 268 | 268 | <ul class="clearfix brdr-lft mrgn-lft-md list-unstyled"> |
| 269 | 269 | <li class="clearfix pull-left mrgn-lft-md"> |
| 270 | 270 | <?php |
| 271 | - echo elgg_view ( "input/checkbox", array ( |
|
| 272 | - 'name' => 'coachseek_check', |
|
| 273 | - 'checked' => true, |
|
| 274 | - 'id' => 'gcconnex-opt-in-seekCoach-check', |
|
| 275 | - 'class'=>'pull-left', |
|
| 276 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 277 | - )); |
|
| 271 | + echo elgg_view ( "input/checkbox", array ( |
|
| 272 | + 'name' => 'coachseek_check', |
|
| 273 | + 'checked' => true, |
|
| 274 | + 'id' => 'gcconnex-opt-in-seekCoach-check', |
|
| 275 | + 'class'=>'pull-left', |
|
| 276 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:participants' ), |
|
| 277 | + )); |
|
| 278 | 278 | |
| 279 | - ?> |
|
| 279 | + ?> |
|
| 280 | 280 | </li> |
| 281 | 281 | <li class="clearfix pull-left mrgn-lft-md"> |
| 282 | 282 | <?php |
| 283 | - echo elgg_view ( "input/checkbox", array ( |
|
| 284 | - 'name' => 'coachcreate_check', |
|
| 285 | - 'checked' => true, |
|
| 286 | - 'id' => 'gcconnex-opt-in-becomeCoach-check', |
|
| 287 | - 'class'=>'pull-left', |
|
| 288 | - 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 289 | - )); |
|
| 283 | + echo elgg_view ( "input/checkbox", array ( |
|
| 284 | + 'name' => 'coachcreate_check', |
|
| 285 | + 'checked' => true, |
|
| 286 | + 'id' => 'gcconnex-opt-in-becomeCoach-check', |
|
| 287 | + 'class'=>'pull-left', |
|
| 288 | + 'label'=>elgg_echo ( 'gcconnex_profile:opt:host' ), |
|
| 289 | + )); |
|
| 290 | 290 | |
| 291 | - ?> |
|
| 291 | + ?> |
|
| 292 | 292 | </li> |
| 293 | 293 | </ul> |
| 294 | 294 | </li> |
| 295 | 295 | |
| 296 | 296 | <li class="clearfix"> |
| 297 | 297 | <?php |
| 298 | - echo elgg_view ( "input/checkbox", array ( |
|
| 299 | - 'name' => 'jobshare_check', |
|
| 300 | - 'checked' => true, |
|
| 301 | - 'id' => 'gcconnex-opt-in-shadowing-check', |
|
| 302 | - 'class'=>'pull-left', |
|
| 303 | - 'label'=>elgg_echo ( 'missions:job_share' ), |
|
| 304 | - )); |
|
| 298 | + echo elgg_view ( "input/checkbox", array ( |
|
| 299 | + 'name' => 'jobshare_check', |
|
| 300 | + 'checked' => true, |
|
| 301 | + 'id' => 'gcconnex-opt-in-shadowing-check', |
|
| 302 | + 'class'=>'pull-left', |
|
| 303 | + 'label'=>elgg_echo ( 'missions:job_share' ), |
|
| 304 | + )); |
|
| 305 | 305 | |
| 306 | - ?> |
|
| 306 | + ?> |
|
| 307 | 307 | </li> |
| 308 | 308 | |
| 309 | 309 | </ul> |
@@ -34,8 +34,8 @@ discard block |
||
| 34 | 34 | 'limit' => $max, |
| 35 | 35 | 'pagination' => true, |
| 36 | 36 | 'list_type' => 'gallery', |
| 37 | - 'gallery_class'=>'wb-eqht', |
|
| 38 | - 'item_class'=>'col-sm-6 col-md-4 ', |
|
| 37 | + 'gallery_class'=>'wb-eqht', |
|
| 38 | + 'item_class'=>'col-sm-6 col-md-4 ', |
|
| 39 | 39 | |
| 40 | 40 | 'mission_full_view' => false |
| 41 | 41 | ), $offset, $max); |
@@ -122,10 +122,10 @@ discard block |
||
| 122 | 122 | |
| 123 | 123 | <div> |
| 124 | 124 | <?php |
| 125 | - echo elgg_view_form('missions/opt-in-splash'); |
|
| 125 | + echo elgg_view_form('missions/opt-in-splash'); |
|
| 126 | 126 | |
| 127 | 127 | |
| 128 | - ?> |
|
| 128 | + ?> |
|
| 129 | 129 | </div> |
| 130 | 130 | |
| 131 | 131 | |
@@ -75,8 +75,8 @@ |
||
| 75 | 75 | } |
| 76 | 76 | $search_set .= elgg_view_entity_list(array_slice($result_set, $offset, $entities_per_page), array( |
| 77 | 77 | 'count' => $count, |
| 78 | - 'list_class' => 'clearfix row mrgn-bttm-md candidate-holder', |
|
| 79 | - 'item_class' => 'col-md-3 col-sm-6 candidate-panel ', |
|
| 78 | + 'list_class' => 'clearfix row mrgn-bttm-md candidate-holder', |
|
| 79 | + 'item_class' => 'col-md-3 col-sm-6 candidate-panel ', |
|
| 80 | 80 | 'offset' => $offset, |
| 81 | 81 | 'limit' => $entities_per_page, |
| 82 | 82 | 'pagination' => true, |
@@ -14,10 +14,10 @@ discard block |
||
| 14 | 14 | $mission = ''; |
| 15 | 15 | $full_view = ''; |
| 16 | 16 | if (isset($vars['entity'])) { |
| 17 | - $mission = $vars['entity']; |
|
| 17 | + $mission = $vars['entity']; |
|
| 18 | 18 | } |
| 19 | 19 | if (isset($vars['full_view'])) { |
| 20 | - $full_view = $vars['full_view']; |
|
| 20 | + $full_view = $vars['full_view']; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | $department_string = $mission->department; |
@@ -38,13 +38,13 @@ discard block |
||
| 38 | 38 | $clean_openess = elgg_echo('missions:no'); |
| 39 | 39 | $clean_completion_date = elgg_echo('missions:unknown'); |
| 40 | 40 | if(!empty($mission->phone)) { |
| 41 | - $clean_phone = $mission->phone; |
|
| 41 | + $clean_phone = $mission->phone; |
|
| 42 | 42 | } |
| 43 | 43 | if(!empty($mission->security)) { |
| 44 | - $clean_security = elgg_echo($mission->security); |
|
| 44 | + $clean_security = elgg_echo($mission->security); |
|
| 45 | 45 | } |
| 46 | 46 | if(!empty($mission->key_skills)) { |
| 47 | - $clean_skills = $mission->key_skills; |
|
| 47 | + $clean_skills = $mission->key_skills; |
|
| 48 | 48 | } |
| 49 | 49 | if(!empty($mission->timezone)) { |
| 50 | 50 | $clean_timezone = elgg_echo($mission->timezone); |
@@ -80,76 +80,76 @@ discard block |
||
| 80 | 80 | // Sets up the display for language metadata. |
| 81 | 81 | $unpacked_language = ''; |
| 82 | 82 | if (! empty($unpacked_array['lwc_english']) || ! empty($unpacked_array['lwc_french'])) { |
| 83 | - $unpacked_language .= '<h5>' . elgg_echo('missions:written_comprehension') . ': </h5>'; |
|
| 84 | - if (! empty($unpacked_array['lwc_english'])) { |
|
| 85 | - $unpacked_language .= '<span name="mission-lwc-english">' . elgg_echo('missions:formatted:english', array($unpacked_array['lwc_english'])) . '</span> '; |
|
| 86 | - } |
|
| 87 | - if (! empty($unpacked_array['lwc_french'])) { |
|
| 88 | - $unpacked_language .= '<span name="mission-lwc-french">' . elgg_echo('missions:formatted:french', array($unpacked_array['lwc_french'])) . '</span>'; |
|
| 89 | - } |
|
| 90 | - $unpacked_language .= '<br>'; |
|
| 83 | + $unpacked_language .= '<h5>' . elgg_echo('missions:written_comprehension') . ': </h5>'; |
|
| 84 | + if (! empty($unpacked_array['lwc_english'])) { |
|
| 85 | + $unpacked_language .= '<span name="mission-lwc-english">' . elgg_echo('missions:formatted:english', array($unpacked_array['lwc_english'])) . '</span> '; |
|
| 86 | + } |
|
| 87 | + if (! empty($unpacked_array['lwc_french'])) { |
|
| 88 | + $unpacked_language .= '<span name="mission-lwc-french">' . elgg_echo('missions:formatted:french', array($unpacked_array['lwc_french'])) . '</span>'; |
|
| 89 | + } |
|
| 90 | + $unpacked_language .= '<br>'; |
|
| 91 | 91 | } |
| 92 | 92 | if (! empty($unpacked_array['lwe_english']) || ! empty($unpacked_array['lwe_french'])) { |
| 93 | - $unpacked_language .= '<h5>' . elgg_echo('missions:written_expression') . ': </h5>'; |
|
| 94 | - if (! empty($unpacked_array['lwe_english'])) { |
|
| 95 | - $unpacked_language .= '<span name="mission-lwe-english">' . elgg_echo('missions:formatted:english', array($unpacked_array['lwe_english'])) . '</span> '; |
|
| 96 | - } |
|
| 97 | - if (! empty($unpacked_array['lwe_french'])) { |
|
| 98 | - $unpacked_language .= '<span name="mission-lwe-french">' . elgg_echo('missions:formatted:french', array($unpacked_array['lwe_french'])) . '</span>'; |
|
| 99 | - } |
|
| 100 | - $unpacked_language .= '<br>'; |
|
| 93 | + $unpacked_language .= '<h5>' . elgg_echo('missions:written_expression') . ': </h5>'; |
|
| 94 | + if (! empty($unpacked_array['lwe_english'])) { |
|
| 95 | + $unpacked_language .= '<span name="mission-lwe-english">' . elgg_echo('missions:formatted:english', array($unpacked_array['lwe_english'])) . '</span> '; |
|
| 96 | + } |
|
| 97 | + if (! empty($unpacked_array['lwe_french'])) { |
|
| 98 | + $unpacked_language .= '<span name="mission-lwe-french">' . elgg_echo('missions:formatted:french', array($unpacked_array['lwe_french'])) . '</span>'; |
|
| 99 | + } |
|
| 100 | + $unpacked_language .= '<br>'; |
|
| 101 | 101 | } |
| 102 | 102 | if (! empty($unpacked_array['lop_english']) || ! empty($unpacked_array['lop_french'])) { |
| 103 | - $unpacked_language .= '<h5>' . elgg_echo('missions:oral_proficiency') . ': </h5>'; |
|
| 104 | - if (! empty($unpacked_array['lop_english'])) { |
|
| 105 | - $unpacked_language .= '<span name="mission-lop-english">' . elgg_echo('missions:formatted:english', array($unpacked_array['lop_english'])) . '</span> '; |
|
| 106 | - } |
|
| 107 | - if (! empty($unpacked_array['lop_french'])) { |
|
| 108 | - $unpacked_language .= '<span name="mission-lop-french">' . elgg_echo('missions:formatted:french', array($unpacked_array['lop_french'])) . '</span>'; |
|
| 109 | - } |
|
| 110 | - $unpacked_language .= '<br>'; |
|
| 103 | + $unpacked_language .= '<h5>' . elgg_echo('missions:oral_proficiency') . ': </h5>'; |
|
| 104 | + if (! empty($unpacked_array['lop_english'])) { |
|
| 105 | + $unpacked_language .= '<span name="mission-lop-english">' . elgg_echo('missions:formatted:english', array($unpacked_array['lop_english'])) . '</span> '; |
|
| 106 | + } |
|
| 107 | + if (! empty($unpacked_array['lop_french'])) { |
|
| 108 | + $unpacked_language .= '<span name="mission-lop-french">' . elgg_echo('missions:formatted:french', array($unpacked_array['lop_french'])) . '</span>'; |
|
| 109 | + } |
|
| 110 | + $unpacked_language .= '<br>'; |
|
| 111 | 111 | } |
| 112 | 112 | if (empty($unpacked_language)) { |
| 113 | - $unpacked_language = '<span name="no-languages">' . elgg_echo('missions:none_required') . '</span>'; |
|
| 113 | + $unpacked_language = '<span name="no-languages">' . elgg_echo('missions:none_required') . '</span>'; |
|
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | // Sets up the display for time metadata. |
| 117 | 117 | $unpacked_time = ''; |
| 118 | 118 | if ($mission->mon_start) { |
| 119 | - $unpacked_time .= '<h5>' . elgg_echo('missions:mon') . ': </h5>'; |
|
| 120 | - $unpacked_time .= '<span name="mission-mon-start">' . $mission->mon_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-mon-duration">' . $mission->mon_duration . '</span><br>'; |
|
| 119 | + $unpacked_time .= '<h5>' . elgg_echo('missions:mon') . ': </h5>'; |
|
| 120 | + $unpacked_time .= '<span name="mission-mon-start">' . $mission->mon_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-mon-duration">' . $mission->mon_duration . '</span><br>'; |
|
| 121 | 121 | } |
| 122 | 122 | if ($mission->tue_start) { |
| 123 | - $unpacked_time .= '<h5>' . elgg_echo('missions:tue') . ': </h5>'; |
|
| 123 | + $unpacked_time .= '<h5>' . elgg_echo('missions:tue') . ': </h5>'; |
|
| 124 | 124 | $unpacked_time .= '<span name="mission-tue-start">' . $mission->tue_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-tue-duration">' . $mission->tue_duration . '</span><br>'; |
| 125 | 125 | } |
| 126 | 126 | if ($mission->wed_start) { |
| 127 | - $unpacked_time .= '<h5>' . elgg_echo('missions:wed') . ': </h5>'; |
|
| 128 | - $unpacked_time .= '<span name="mission-wed-start">' . $mission->wed_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-wed-duration">' . $mission->wed_duration . '</span><br>'; |
|
| 127 | + $unpacked_time .= '<h5>' . elgg_echo('missions:wed') . ': </h5>'; |
|
| 128 | + $unpacked_time .= '<span name="mission-wed-start">' . $mission->wed_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-wed-duration">' . $mission->wed_duration . '</span><br>'; |
|
| 129 | 129 | } |
| 130 | 130 | if ($mission->thu_start) { |
| 131 | - $unpacked_time .= '<h5>' . elgg_echo('missions:thu') . ': </h5>'; |
|
| 132 | - $unpacked_time .= '<span name="mission-thu-start">' . $mission->thu_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-thu-duration">' . $mission->thu_duration . '</span><br>'; |
|
| 131 | + $unpacked_time .= '<h5>' . elgg_echo('missions:thu') . ': </h5>'; |
|
| 132 | + $unpacked_time .= '<span name="mission-thu-start">' . $mission->thu_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-thu-duration">' . $mission->thu_duration . '</span><br>'; |
|
| 133 | 133 | } |
| 134 | 134 | if ($mission->fri_start) { |
| 135 | - $unpacked_time .= '<h5>' . elgg_echo('missions:fri') . ': </h5>'; |
|
| 136 | - $unpacked_time .= '<span name="mission-fri-start">' . $mission->fri_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-fri-duration">' . $mission->fri_duration . '</span><br>'; |
|
| 135 | + $unpacked_time .= '<h5>' . elgg_echo('missions:fri') . ': </h5>'; |
|
| 136 | + $unpacked_time .= '<span name="mission-fri-start">' . $mission->fri_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-fri-duration">' . $mission->fri_duration . '</span><br>'; |
|
| 137 | 137 | } |
| 138 | 138 | if ($mission->sat_start) { |
| 139 | - $unpacked_time .= '<h5>' . elgg_echo('missions:sat') . ': </h5>'; |
|
| 140 | - $unpacked_time .= '<span name="mission-sat-start">' . $mission->sat_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-sat-duration">' . $mission->sat_duration . '</span><br>'; |
|
| 139 | + $unpacked_time .= '<h5>' . elgg_echo('missions:sat') . ': </h5>'; |
|
| 140 | + $unpacked_time .= '<span name="mission-sat-start">' . $mission->sat_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-sat-duration">' . $mission->sat_duration . '</span><br>'; |
|
| 141 | 141 | } |
| 142 | 142 | if ($mission->sun_start) { |
| 143 | - $unpacked_time .= '<h5>' . elgg_echo('missions:sun') . ': </h5>'; |
|
| 144 | - $unpacked_time .= '<span name="mission-sun-start">' . $mission->sun_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-sun-duration">' . $mission->sun_duration . '</span><br>'; |
|
| 143 | + $unpacked_time .= '<h5>' . elgg_echo('missions:sun') . ': </h5>'; |
|
| 144 | + $unpacked_time .= '<span name="mission-sun-start">' . $mission->sun_start . '</span>' . elgg_echo('missions:to') . '<span name="mission-sun-duration">' . $mission->sun_duration . '</span><br>'; |
|
| 145 | 145 | } |
| 146 | 146 | if (empty($unpacked_time)) { |
| 147 | - $unpacked_time = '<span name="no-times">' . elgg_echo('missions:none_required') . '</span>'; |
|
| 147 | + $unpacked_time = '<span name="no-times">' . elgg_echo('missions:none_required') . '</span>'; |
|
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | // Creates a set of buttons for the bottom of the view. |
| 151 | 151 | if(!$vars['override_buttons']) { |
| 152 | - $button_set = mm_create_button_set_full($mission); |
|
| 152 | + $button_set = mm_create_button_set_full($mission); |
|
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | $mission_state = ''; |
@@ -188,10 +188,10 @@ discard block |
||
| 188 | 188 | </div> |
| 189 | 189 | <div name="mission-description"> |
| 190 | 190 | <?php |
| 191 | - //echo elgg_get_excerpt($mission->descriptor, 2000); |
|
| 192 | - //Nick - Changed from exceprt to echo the metadata so it does not strip the tags made by ck editor |
|
| 193 | - echo $mission->descriptor; |
|
| 194 | - ?> |
|
| 191 | + //echo elgg_get_excerpt($mission->descriptor, 2000); |
|
| 192 | + //Nick - Changed from exceprt to echo the metadata so it does not strip the tags made by ck editor |
|
| 193 | + echo $mission->descriptor; |
|
| 194 | + ?> |
|
| 195 | 195 | </div> |
| 196 | 196 | |
| 197 | 197 | <div> |
@@ -275,9 +275,9 @@ discard block |
||
| 275 | 275 | <div> |
| 276 | 276 | <?php |
| 277 | 277 | foreach ($button_set as $value) { |
| 278 | - echo $value; |
|
| 278 | + echo $value; |
|
| 279 | 279 | } |
| 280 | - ?> |
|
| 280 | + ?> |
|
| 281 | 281 | </div> |
| 282 | 282 | </div> |
| 283 | 283 | |
@@ -300,12 +300,12 @@ discard block |
||
| 300 | 300 | --> |
| 301 | 301 | |
| 302 | 302 | <?php |
| 303 | - echo elgg_view('page/elements/mission-manager-info', array( |
|
| 304 | - 'mission' => $mission, |
|
| 305 | - 'container_class' => 'mission-user-card-info', |
|
| 306 | - 'grid_number' => '2' |
|
| 307 | - )); |
|
| 308 | - ?> |
|
| 303 | + echo elgg_view('page/elements/mission-manager-info', array( |
|
| 304 | + 'mission' => $mission, |
|
| 305 | + 'container_class' => 'mission-user-card-info', |
|
| 306 | + 'grid_number' => '2' |
|
| 307 | + )); |
|
| 308 | + ?> |
|
| 309 | 309 | |
| 310 | 310 | </div> |
| 311 | 311 | <div class=""> |
@@ -322,12 +322,12 @@ discard block |
||
| 322 | 322 | </h5> |
| 323 | 323 | <span name="mission-email"> |
| 324 | 324 | <?php |
| 325 | - //Nick - Changed to a mailto link based on email feeback |
|
| 326 | - echo elgg_view('output/url', array( |
|
| 327 | - 'text'=>$mission->email, |
|
| 328 | - 'href'=>'mailto:'. $mission->email, |
|
| 329 | - )); |
|
| 330 | - ?> |
|
| 325 | + //Nick - Changed to a mailto link based on email feeback |
|
| 326 | + echo elgg_view('output/url', array( |
|
| 327 | + 'text'=>$mission->email, |
|
| 328 | + 'href'=>'mailto:'. $mission->email, |
|
| 329 | + )); |
|
| 330 | + ?> |
|
| 331 | 331 | </span> |
| 332 | 332 | </div> |
| 333 | 333 | <div class=""> |
@@ -343,10 +343,10 @@ discard block |
||
| 343 | 343 | <div> |
| 344 | 344 | |
| 345 | 345 | <?php |
| 346 | - echo elgg_view('page/elements/related-candidates', array( |
|
| 347 | - 'entity' => $mission, |
|
| 348 | - )); |
|
| 349 | - ?> |
|
| 346 | + echo elgg_view('page/elements/related-candidates', array( |
|
| 347 | + 'entity' => $mission, |
|
| 348 | + )); |
|
| 349 | + ?> |
|
| 350 | 350 | |
| 351 | 351 | </div> |
| 352 | 352 | |
@@ -20,8 +20,8 @@ |
||
| 20 | 20 | $duration = $vars['duration']; |
| 21 | 21 | |
| 22 | 22 | if (elgg_is_sticky_form('tddropfill')) { |
| 23 | - extract(elgg_get_sticky_values('tddropfill')); |
|
| 24 | - // elgg_clear_sticky_form('thirdfill'); |
|
| 23 | + extract(elgg_get_sticky_values('tddropfill')); |
|
| 24 | + // elgg_clear_sticky_form('thirdfill'); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | $input_start = elgg_view('input/text', array( |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | */ |
| 20 | 20 | $mission = ''; |
| 21 | 21 | if (isset($vars['entity'])) { |
| 22 | - $mission = $vars['entity']; |
|
| 22 | + $mission = $vars['entity']; |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | $description_string = elgg_get_excerpt($mission->description, 200); |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | // Sets the buttons to the bottom of whichever view is used. |
| 30 | 30 | if(!$vars['override_buttons']) { |
| 31 | - $button_set = mm_create_button_set_base($mission, false); |
|
| 31 | + $button_set = mm_create_button_set_base($mission, false); |
|
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | $mission_state = ''; |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | )); |
| 55 | 55 | |
| 56 | 56 | if($mission->owner_guid == elgg_get_logged_in_user_guid() || $mission->account == elgg_get_logged_in_user_guid()) { |
| 57 | - $badge_color = 'mission-applicant-badge-owner'; |
|
| 57 | + $badge_color = 'mission-applicant-badge-owner'; |
|
| 58 | 58 | |
| 59 | 59 | } |
| 60 | 60 | $relationship_count = elgg_get_entities_from_relationship(array( |
@@ -70,9 +70,9 @@ discard block |
||
| 70 | 70 | )); |
| 71 | 71 | |
| 72 | 72 | if($relationship_count == 1){ |
| 73 | - $applicant_lang = elgg_echo("missions:applicant"); |
|
| 73 | + $applicant_lang = elgg_echo("missions:applicant"); |
|
| 74 | 74 | }else{ |
| 75 | - $applicant_lang = elgg_echo("missions:applicants"); |
|
| 75 | + $applicant_lang = elgg_echo("missions:applicants"); |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | if($relationship_count > 0 && $mission->state == 'posted') { |
@@ -87,10 +87,10 @@ discard block |
||
| 87 | 87 | |
| 88 | 88 | //Nick - making the headers clickable as well |
| 89 | 89 | $click_header = elgg_view('output/url', array( |
| 90 | - 'href'=>$mission->getURL(), |
|
| 91 | - 'text'=>elgg_get_excerpt($mission->job_title, elgg_get_plugin_setting('mission_job_title_card_cutoff', 'missions')), |
|
| 92 | - 'class'=>'mission-title-header', |
|
| 93 | - )); |
|
| 90 | + 'href'=>$mission->getURL(), |
|
| 91 | + 'text'=>elgg_get_excerpt($mission->job_title, elgg_get_plugin_setting('mission_job_title_card_cutoff', 'missions')), |
|
| 92 | + 'class'=>'mission-title-header', |
|
| 93 | + )); |
|
| 94 | 94 | ?> |
| 95 | 95 | |
| 96 | 96 | <div class="mission-printer mission-less panel panel-default hght-inhrt clearfix" style="height:<?php //echo $card_height;?>px;" name="mission-object"> |
@@ -100,8 +100,8 @@ discard block |
||
| 100 | 100 | <h3 class='h2'> |
| 101 | 101 | <div style="display:inline; font-weight:normal;" name="mission-job-title"> |
| 102 | 102 | <?php //echo elgg_get_excerpt($mission->job_title, elgg_get_plugin_setting('mission_job_title_card_cutoff', 'missions')); |
| 103 | - echo $click_header; |
|
| 104 | - ?> |
|
| 103 | + echo $click_header; |
|
| 104 | + ?> |
|
| 105 | 105 | </div> |
| 106 | 106 | <div style="font-style:italic;font-size:small;display:inline;" name="mission-state"> |
| 107 | 107 | <?php echo $mission_state; ?> |
@@ -177,11 +177,11 @@ discard block |
||
| 177 | 177 | <div class="mission-button-set clearfix col-sm-12"> |
| 178 | 178 | <?php |
| 179 | 179 | if (! $full_view) { |
| 180 | - foreach ($button_set as $value) { |
|
| 181 | - echo $value; |
|
| 182 | - } |
|
| 180 | + foreach ($button_set as $value) { |
|
| 181 | + echo $value; |
|
| 182 | + } |
|
| 183 | 183 | } |
| 184 | - ?> |
|
| 184 | + ?> |
|
| 185 | 185 | </div> |
| 186 | 186 | <div hidden name="mission-card-guid" id="mission-card-guid-<?php echo $mission->guid; ?>"> |
| 187 | 187 | <?php echo $mission->guid; ?> |
@@ -44,11 +44,11 @@ discard block |
||
| 44 | 44 | $entity_list = mm_sort_mission_decider($_SESSION['missions_sort_field_value'], $_SESSION['missions_order_field_value'], $entity_list, $_SESSION['missions_type_field_value'], $_SESSION['missions_role_field_value']); |
| 45 | 45 | $count = count($entity_list); // count the filtered list |
| 46 | 46 | if ( $offset >= $count ) // reset offset if it no longer makes sense after filtering |
| 47 | - $offset = 0; |
|
| 47 | + $offset = 0; |
|
| 48 | 48 | |
| 49 | 49 | $max_reached = ''; |
| 50 | 50 | if(($offset + $max) >= elgg_get_plugin_setting('search_limit', 'missions') && $count >= elgg_get_plugin_setting('search_limit', 'missions')) { |
| 51 | - $max_reached = '<div class="col-sm-12" style="font-style:italic;">' . elgg_echo('missions:reached_maximum_entities') . '</div>'; |
|
| 51 | + $max_reached = '<div class="col-sm-12" style="font-style:italic;">' . elgg_echo('missions:reached_maximum_entities') . '</div>'; |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | $archive_list = elgg_view_entity_list(array_slice($entity_list, $offset, $max), array( |
@@ -57,8 +57,8 @@ discard block |
||
| 57 | 57 | 'limit' => $max, |
| 58 | 58 | 'pagination' => true, |
| 59 | 59 | 'list_type' => 'gallery', |
| 60 | - 'gallery_class'=>'wb-eqht clearfix', |
|
| 61 | - 'item_class'=>'col-sm-6 col-md-4 ', |
|
| 60 | + 'gallery_class'=>'wb-eqht clearfix', |
|
| 61 | + 'item_class'=>'col-sm-6 col-md-4 ', |
|
| 62 | 62 | // 'gallery_class' => 'mission-gallery', |
| 63 | 63 | 'mission_full_view' => false |
| 64 | 64 | ), $offset, $max); |
@@ -81,13 +81,13 @@ discard block |
||
| 81 | 81 | $role_type_field = $_SESSION['missions_role_field_value']; |
| 82 | 82 | |
| 83 | 83 | if ($opp_type_field || $role_type_field) { |
| 84 | - $clear_link = elgg_view('output/url', array( |
|
| 85 | - 'text' => elgg_echo('missions:clear_filter'), |
|
| 86 | - 'href' => 'action/missions/sort-missions-form?opp_filter=&role_filter=', |
|
| 87 | - 'class' => 'mrgn-lft-sm', |
|
| 88 | - 'is_action' => true, |
|
| 89 | - 'is_trusted' => true, |
|
| 90 | - )); |
|
| 84 | + $clear_link = elgg_view('output/url', array( |
|
| 85 | + 'text' => elgg_echo('missions:clear_filter'), |
|
| 86 | + 'href' => 'action/missions/sort-missions-form?opp_filter=&role_filter=', |
|
| 87 | + 'class' => 'mrgn-lft-sm', |
|
| 88 | + 'is_action' => true, |
|
| 89 | + 'is_trusted' => true, |
|
| 90 | + )); |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | ?> |
@@ -96,8 +96,8 @@ discard block |
||
| 96 | 96 | <div class="col-sm-8"> |
| 97 | 97 | <h2 class="h4 mrgn-tp-md mrgn-bttm-0"><?php echo elgg_echo('missions:search_for_archived_opportunities') . ':'; ?></h2> |
| 98 | 98 | <?php |
| 99 | - echo $simple_search_form; |
|
| 100 | - ?> |
|
| 99 | + echo $simple_search_form; |
|
| 100 | + ?> |
|
| 101 | 101 | </div> |
| 102 | 102 | </div> |
| 103 | 103 | <div class="col-sm-12"> |