1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Enable Help in Banner Plugin

Enable Help in Banner admin area.
Make the default description for e107 Banner more accessibility
friendly. #275
This commit is contained in:
MikeyGMT 2016-12-05 19:28:26 +00:00
parent 0df6138eb7
commit b9bce0a12b
5 changed files with 29 additions and 3 deletions

View File

@ -1175,6 +1175,7 @@ $core_image = array (
'banner_sql.php' => '950a1eda9eed1f1d735db4231dafc09d',
'banner_template.php' => '6cce6a757e0a9aa609ec52e04db9e527',
'e_menu.php' => '8173c4db24ee86f28a6cc0416b7f42f1',
'e_help.php' => 'TODO-Newfile',
'e_shortcode.php' => 'dd410b7adac946a6bdcc9fa27a01d536',
'plugin.xml' => '3ee13c88f3d07cbd2bdfd68944a7b933',
),

View File

@ -76,7 +76,7 @@ class banner_admin extends e_admin_dispatcher
'main/list' => array('caption'=> LAN_MANAGE, 'perm' => 'P'),
'main/create' => array('caption'=> LAN_CREATE, 'perm' => 'P'),
'main/menu' => array('caption'=> BNRLAN_36, 'perm' => 'P'),
// 'main/menu' => array('caption'=> BNRLAN_36, 'perm' => 'P'), //Done in Menu manager #2096
// 'main/prefs' => array('caption'=> LAN_PREFS, 'perm' => 'P'),
// 'main/custom' => array('caption'=> 'Custom Page', 'perm' => 'P')

View File

@ -38,7 +38,7 @@ class banner_setup
'banner_clicks' => '0',
'banner_impressions' => '0',
'banner_ip' => '',
'banner_description' => 'click to visit',
'banner_description' => 'Learn more about e107 CMS.',
'banner_campaign' => 'e107promo'
);

View File

@ -0,0 +1,21 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2016 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Plugin - Banner
*
*/
if (!defined('e107_INIT')) { exit; }
if (!e107::isInstalled('banner'))
{
return;
}
include_lan(e_PLUGIN.'banner/languages/'.e_LANGUAGE.'admin_banner.php');
$ns->tablerender(BNRLAN_HELP_01, BNRLAN_HELP_02);
?>

View File

@ -49,7 +49,7 @@ define("BNRLAN_33", "Code"); //46
// 34 - 35 extra space
define("BNRLAN_35", "Banner menu"); // 61
define("BNRLAN_36", "Configure Menu"); //68
//define("BNRLAN_36", "Configure Menu"); //68
//define("BNRLAN_37", "Caption"); // BANNER_MENU_L3 LAN_CAPTION
define("BNRLAN_38", "Advertisement"); // BANNER_MENU_L1
@ -68,4 +68,8 @@ define("BNRLAN_47", "All selected campaigns rendered in separate menus"); // BAN
define("BNRLAN_48", "All selected campaigns (no box rendering)");
//define("BNRLAN_49", "Tooltip");//LAN_TOOLTIP Linkwords also
define("BNRLAN_HELP_01", "Banner Help");
define("BNRLAN_HELP_02", "Use this plugin to manage advertising on your website.<br /><br />When creating a new banner you can create a username and password for your client to login and check the progress of the campaign. <br /><br />You can enable the banner menu using the menu manager and perform further configuration from there.");
?>