1
0
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:
Cameron
2016-10-18 13:48:47 -07:00
parent c9bf31cf26
commit c9fa36066b
3 changed files with 112 additions and 37 deletions

View 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);
?>