mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 12:51:52 +02:00
Plugin Builder: Added _menu and simple frontend file to addons list.
This commit is contained in:
35
e107_plugins/_blank/_blank_menu.php
Normal file
35
e107_plugins/_blank/_blank_menu.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?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)
|
||||
*
|
||||
* _blank menu file.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
// $sql = e107::getDB(); // mysql class object
|
||||
// $tp = e107::getParser(); // parser for converting to HTML and parsing templates etc.
|
||||
// $frm = e107::getForm(); // Form element class.
|
||||
// $ns = e107::getRender(); // render in theme box.
|
||||
|
||||
$text = "Empty Menu";
|
||||
|
||||
if(!empty($parm))
|
||||
{
|
||||
$text .= print_a($parm,true); // e_menu.php form data.
|
||||
}
|
||||
|
||||
e107::getRender()->tablerender("_blank", $text);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user