| @@ -29,8 +29,9 @@ | ||
| 29 | 29 | \Elementor\Controls_Manager::add_tab( |
| 30 | 30 | 'tab_conf', |
| 31 | 31 | esc_html__('Settings', 'wpdirectorykit') |
| 32 | 32 | ); |
| 33 | + | |
| 33 | 34 | |
| 34 | 35 | \Elementor\Controls_Manager::add_tab( |
| 35 | 36 | 'tab_layout', |
| 36 | 37 | esc_html__('Layout', 'wpdirectorykit') |
| @@ -162,9 +163,9 @@ | ||
| 162 | 163 | $this->data['is_edit_mode']= false; |
| 163 | 164 | if(Plugin::$instance->editor->is_edit_mode()) |
| 164 | 165 | $this->data['is_edit_mode']= true; |
| 165 | 166 | |
| 166 | - echo $this->view('wdk-locations-grid', $this->data); | |
| 167 | + $this->view('wdk-locations-grid', $this->data, true); | |
| 167 | 168 | } |
| 168 | 169 | |
| 169 | 170 | |
| 170 | 171 | private function generate_controls_conf() { |
| @@ -210,8 +211,9 @@ | ||
| 210 | 211 | 'important_note', |
| 211 | 212 | [ |
| 212 | 213 | 'label' => '', |
| 213 | 214 | 'type' => \Elementor\Controls_Manager::RAW_HTML, |
| 215 | + /* translators: 1: URL. */ | |
| 214 | 216 | 'raw' => wdk_sprintf(__( 'Edit Locations <a href="%1$s" target="_blank"> open </a>', 'wpdirectorykit' ), admin_url('admin.php?page=wdk_location')), |
| 215 | 217 | 'content_classes' => 'wdk_elementor_hint', |
| 216 | 218 | ] |
| 217 | 219 | ); |