diff --git a/e107_plugins/_blank/e_header.php b/e107_plugins/_blank/e_header.php index 104cb94a7..b116d3149 100644 --- a/e107_plugins/_blank/e_header.php +++ b/e107_plugins/_blank/e_header.php @@ -14,11 +14,11 @@ if (!defined('e107_INIT')) { exit; } -if(USER_AREA) // do not include JS in the admin area. +if(USER_AREA) // prevents inclusion of JS/CSS/meta in the admin area. { - e107::js('_blank', 'js/blank.js'); // loads e107_plugins/_blank/js/blank.js - e107::css('_blank', 'css/blank.css'); // loads e107_plugins/_blank/css/blank.css - e107::meta('keywords', 'blank,words'); + e107::js('_blank', 'js/blank.js'); // loads e107_plugins/_blank/js/blank.js on every page. + e107::css('_blank', 'css/blank.css'); // loads e107_plugins/_blank/css/blank.css on every page + e107::meta('keywords', 'blank,words'); // sets meta keywords on every page. } diff --git a/e107_plugins/_blank/e_sitelink.php b/e107_plugins/_blank/e_sitelink.php index f8ee2bf16..0c7bd0cb1 100644 --- a/e107_plugins/_blank/e_sitelink.php +++ b/e107_plugins/_blank/e_sitelink.php @@ -16,7 +16,7 @@ */ if (!defined('e107_INIT')) { exit; } -/*if(!e107::isInstalled('gsitemap')) +/*if(!e107::isInstalled('_blank')) { return; }*/ @@ -78,20 +78,20 @@ class _blank_sitelink // include plugin-folder in the name. $tp = e107::getParser(); $sublinks = array(); - $sql->select("_blank_info","*","faq_info_id != '' ORDER BY faq_info_order"); + $sql->select("blank","*","blank_id != '' "); while($row = $sql->fetch()) { $sublinks[] = array( - 'link_name' => $tp->toHtml($row['faq_info_title'],'','TITLE'), - 'link_url' => e107::url('_blank', 'category', $row), - 'link_description' => $row['faq_info_about'], - 'link_button' => $row['faq_info_icon'], + 'link_name' => $tp->toHtml($row['blank_name'],'','TITLE'), + 'link_url' => e107::url('_blank', 'other', $row), + 'link_description' => '', + 'link_button' => $row['blank_icon'], 'link_category' => '', 'link_order' => '', 'link_parent' => '', 'link_open' => '', - 'link_class' => intval($row['faq_info_class']) + 'link_class' => e_UC_PUBLIC ); }