mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Banner e_help to Admin UI
This commit is contained in:
parent
6a8b7cb455
commit
01adf399bb
@ -6,20 +6,10 @@
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* Banner Administration
|
||||
* Banner Administration - Handles the display and sequencing of banners on web pages, including counting impressions
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* e107 Banner management plugin
|
||||
*
|
||||
* Handles the display and sequencing of banners on web pages, including counting impressions
|
||||
*
|
||||
* @package e107_plugins
|
||||
* @subpackage banner
|
||||
*
|
||||
*/
|
||||
|
||||
require_once('../../class2.php');
|
||||
if (!getperms('D') && !getperms('P'))
|
||||
{
|
||||
@ -61,8 +51,6 @@ e107::js('footer-inline','
|
||||
');
|
||||
|
||||
|
||||
|
||||
|
||||
class banner_admin extends e_admin_dispatcher
|
||||
{
|
||||
|
||||
@ -386,6 +374,11 @@ class banner_ui extends e_admin_ui
|
||||
// $ns->tablerender(LAN_PLUGIN_BANNER_NAME.SEP.BNRLAN_36, $mes->render() . $text);
|
||||
}
|
||||
|
||||
public function renderHelp()
|
||||
{
|
||||
$help_text = str_replace("[br]", "<br />", BNRLAN_HELP_02);
|
||||
return array('caption' => LAN_HELP, 'text' => $help_text);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,10 @@
|
||||
* Plugin - Banner
|
||||
*
|
||||
*/
|
||||
// DEPRECATED FILE - help text now included renderHelp() in banner_config.php
|
||||
return;
|
||||
|
||||
/*
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
if (!e107::isInstalled('banner'))
|
||||
{
|
||||
@ -19,3 +23,4 @@ e107::includeLan(e_PLUGIN.'banner/languages/'.e_LANGUAGE.'admin_banner.php');
|
||||
$ns->tablerender(BNRLAN_HELP_01, BNRLAN_HELP_02);
|
||||
|
||||
?>
|
||||
*/
|
@ -8,7 +8,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
define("BNRLAN_00", "No banners created yet."); // 15
|
||||
define("BNRLAN_01", "Banner ID not found.");
|
||||
|
||||
@ -71,7 +70,6 @@ define("BNRLAN_48", "All selected campaigns (no box rendering)");
|
||||
define("BNRLAN_50", "Local");
|
||||
define("BNRLAN_51", "Remote");
|
||||
|
||||
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.");
|
||||
//define("BNRLAN_HELP_01", "Banner Help"); LAN_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.");
|
Loading…
x
Reference in New Issue
Block a user