| @@ -29,8 +29,9 @@ | ||
| 29 | 29 | |
| 30 | 30 | public function __construct($data = array(), $args = null) { |
| 31 | 31 | |
| 32 | 32 | \Elementor\Controls_Manager::add_tab( |
| 33 | + | |
| 33 | 34 | 'tab_conf', |
| 34 | 35 | esc_html__('Settings', 'wpdirectorykit') |
| 35 | 36 | ); |
| 36 | 37 | |
| @@ -145,9 +146,9 @@ | ||
| 145 | 146 | $this->data['is_edit_mode']= true; |
| 146 | 147 | } else { |
| 147 | 148 | } |
| 148 | 149 | |
| 149 | - echo $this->view('wdk-button-login', $this->data); | |
| 150 | + $this->view('wdk-button-login', $this->data, true); | |
| 150 | 151 | } |
| 151 | 152 | |
| 152 | 153 | |
| 153 | 154 | private function generate_controls_conf() { |
| @@ -365,8 +366,9 @@ | ||
| 365 | 366 | 'important_note', |
| 366 | 367 | [ |
| 367 | 368 | 'label' => '', |
| 368 | 369 | 'type' => \Elementor\Controls_Manager::RAW_HTML, |
| 370 | + /* translators: 1: URL. */ | |
| 369 | 371 | 'raw' => wdk_sprintf(__( 'Only for addon <a href="%1$s" target="_blank"> Live Messages Chat </a>', 'wpdirectorykit' ), '//wpdirectorykit.com/plugins/wp-directory-messages-chat.html'), |
| 370 | 372 | 'content_classes' => 'wdk_elementor_hint', |
| 371 | 373 | ] |
| 372 | 374 | ); |