| @@ -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') |
| @@ -133,9 +134,9 @@ | ||
| 133 | 134 | $this->data['is_edit_mode']= false; |
| 134 | 135 | if(Plugin::$instance->editor->is_edit_mode()) |
| 135 | 136 | $this->data['is_edit_mode']= true; |
| 136 | 137 | |
| 137 | - echo $this->view('wdk-locations-tree', $this->data); | |
| 138 | + $this->view('wdk-locations-tree', $this->data, true); | |
| 138 | 139 | } |
| 139 | 140 | |
| 140 | 141 | |
| 141 | 142 | private function generate_controls_conf() { |
| @@ -215,8 +216,9 @@ | ||
| 215 | 216 | 'important_note', |
| 216 | 217 | [ |
| 217 | 218 | 'label' => '', |
| 218 | 219 | 'type' => \Elementor\Controls_Manager::RAW_HTML, |
| 220 | + /* translators: 1: URL. */ | |
| 219 | 221 | 'raw' => wdk_sprintf(__( 'Manage Locations <a href="%1$s" target="_blank"> open </a>', 'wpdirectorykit' ), admin_url('admin.php?page=wdk_location')), |
| 220 | 222 | 'content_classes' => 'wdk_elementor_hint', |
| 221 | 223 | ] |
| 222 | 224 | ); |