Poll Widget [NAT] poll_widget_nat poll_widget_nat_od_ua 1.1.0 NAT mailto:info@nat.od.ua language->get('text_dashboard');]]> load->model('setting/setting'); $nat_status = $this->config->get('module_poll_widget_nat_status'); if ($nat_status === null || $nat_status) { $nat_pos = $this->config->get('module_poll_widget_nat_menu_position'); if (empty($nat_pos)) { $nat_pos = 'both'; } if ($nat_pos == 'sidebar' || $nat_pos == 'both') { if ($this->user->hasPermission('access', 'module/poll_widget_nat')) { $data['poll_widget_nat_href'] = $this->url->link('module/poll_widget_nat', 'token=' . $this->session->data['token'], 'SSL'); } } } } } catch (\Throwable $e) { } ]]> ]]> ]]> user->hasPermission('access', 'catalog/product')) {]]> load->model('setting/setting'); $nat_status = $this->config->get('module_poll_widget_nat_status'); if ($nat_status === null || $nat_status) { $nat_pos = $this->config->get('module_poll_widget_nat_menu_position'); if (empty($nat_pos)) { $nat_pos = 'both'; } if ($nat_pos == 'sidebar' || $nat_pos == 'both') { if ($this->user->hasPermission('access', 'module/poll_widget_nat')) { $nat_item = array( 'name' => 'Poll Widget', 'href' => $this->url->link('module/poll_widget_nat', 'token=' . $this->session->data['token'], true), 'children' => array() ); $nat_menu_index = -1; if (isset($data['menus'])) { foreach ($data['menus'] as $k => $menu) { if (isset($menu['id']) && $menu['id'] == 'menu-nat') { $nat_menu_index = $k; break; } } } if ($nat_menu_index > -1) { $data['menus'][$nat_menu_index]['children'][] = $nat_item; } else { $data['menus'][] = array( 'id' => 'menu-nat', 'icon' => 'fa-space-shuttle fa-rotate-270 fw', 'name' => '[NAT] Modules', 'href' => '', 'children' => array($nat_item) ); } } } } } } catch (\Throwable $e) { } ]]> url->link('common/logout']]> load->model('setting/setting'); $nat_status = $this->config->get('module_poll_widget_nat_status'); if ($nat_status === null || $nat_status) { $nat_pos = $this->config->get('module_poll_widget_nat_menu_position'); if (empty($nat_pos)) { $nat_pos = 'both'; } if ($nat_pos == 'header' || $nat_pos == 'both') { if ($this->user->hasPermission('access', 'module/poll_widget_nat')) { $data['nat_menus'][] = array( 'name' => 'Poll Widget', 'href' => $this->url->link('module/poll_widget_nat', 'token=' . $this->session->data['token'], 'SSL') ); } } } } } catch (\Throwable $e) { } ]]> ]]> #nat-ecosystem-menu .fa-space-shuttle, #collapse-nat .fa-space-shuttle, .fa-space-shuttle.fa-rotate-270 { color: #ec741c !important; } #nat-ecosystem-menu a:hover .fa-space-shuttle { color: #ff8c3b !important; } #nat-ecosystem-menu .fa-rocket { color: #ec741c !important; } #nat-ecosystem-menu .fa-rocket:before { content: "\f197" !important; display: inline-block; transform: rotate(270deg); } ]]> ]]>