updates
Showing
4 changed files
with
11 additions
and
5 deletions
| ... | @@ -144,18 +144,20 @@ | ... | @@ -144,18 +144,20 @@ |
| 144 | </a> | 144 | </a> |
| 145 | </div> | 145 | </div> |
| 146 | <div class='header-title'> | 146 | <div class='header-title'> |
| 147 | <?= _("BROKER RESOURCE CENTRE"); ?> | 147 | <?php echo __("BROKER RESOURCE CENTRE"); ?> |
| 148 | </div> | 148 | </div> |
| 149 | <div id='sault'> | 149 | <div id='sault'> |
| 150 | <span class="username" style="text-transform:uppercase;"> | 150 | <span class="username" style="text-transform:uppercase;"> |
| 151 | <?php if(!empty($current_user->user_firstname)) { ?> | 151 | <?php if(!empty($current_user->user_firstname)) { ?> |
| 152 | <?= _("Welcome").", ". esc_html($current_user->user_firstname) . " " . esc_html($current_user->user_lastname) ?> | 152 | <?= __("Welcome").", ". esc_html($current_user->user_firstname) . " " . esc_html($current_user->user_lastname) ?> |
| 153 | <?php } else { ?> | 153 | <?php } else { ?> |
| 154 | <?= _("Welcome") ?> | 154 | <?= __("Welcome") ?> |
| 155 | <?php } ?> | 155 | <?php } ?> |
| 156 | </span> | 156 | </span> |
| 157 | |||
| 157 | <a class='logout-btn' href='/wp-login.php?action=logout' target='_blank'>Log Out</a> | 158 | <a class='logout-btn' href='/wp-login.php?action=logout' target='_blank'>Log Out</a> |
| 158 | </div> | 159 | </div> |
| 159 | </header> | 160 | </header> |
| 160 | <button class='mobile-btn'></button> | 161 | <button class='mobile-btn'></button> |
| 161 | </div> | 162 | </div> |
| 163 | |||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -39,6 +39,10 @@ if ( class_exists( 'WP_CLI' ) ) { | ... | @@ -39,6 +39,10 @@ if ( class_exists( 'WP_CLI' ) ) { |
| 39 | $iter_counter = 0; | 39 | $iter_counter = 0; |
| 40 | foreach($staff_members as $assign) { | 40 | foreach($staff_members as $assign) { |
| 41 | 41 | ||
| 42 | if($assign['phone'] == ' #') { | ||
| 43 | $assign['phone'] = ''; | ||
| 44 | } | ||
| 45 | |||
| 42 | foreach($field_keys as $fk) { | 46 | foreach($field_keys as $fk) { |
| 43 | 47 | ||
| 44 | $option_name = 'options_assignments_'.$iter_counter."_".$fk['name']; | 48 | $option_name = 'options_assignments_'.$iter_counter."_".$fk['name']; | ... | ... |
| ... | @@ -81,7 +81,7 @@ function circular_list($atts){ | ... | @@ -81,7 +81,7 @@ function circular_list($atts){ |
| 81 | </div> | 81 | </div> |
| 82 | <div class="filters"> | 82 | <div class="filters"> |
| 83 | <div class='search-sort'> | 83 | <div class='search-sort'> |
| 84 | <h3><?= _("SORT BY") ?></h3> | 84 | <h3><?= __("SORT BY") ?></h3> |
| 85 | <div class='custom-select'> | 85 | <div class='custom-select'> |
| 86 | <select class='resource-list-sort'> | 86 | <select class='resource-list-sort'> |
| 87 | <option >Select</option> | 87 | <option >Select</option> | ... | ... |
| ... | @@ -111,7 +111,7 @@ function resources_list($atts){ | ... | @@ -111,7 +111,7 @@ function resources_list($atts){ |
| 111 | </div> | 111 | </div> |
| 112 | <div class="filters"> | 112 | <div class="filters"> |
| 113 | <div class='search-sort'> | 113 | <div class='search-sort'> |
| 114 | <h3><?= _("SORT BY") ?></h3> | 114 | <h3><?= __("SORT BY") ?></h3> |
| 115 | <div class='custom-select'> | 115 | <div class='custom-select'> |
| 116 | <select class='resource-list-sort'> | 116 | <select class='resource-list-sort'> |
| 117 | <option >Select</option> | 117 | <option >Select</option> | ... | ... |
-
Please register or sign in to post a comment