mirror of
https://github.com/e107inc/e107.git
synced 2025-08-08 23:56:58 +02:00
Plugin category 'menu' added - for menu only installs. (while supporting e_xxxx). siteinfo_shortcodes.php moved to siteinfo plugin: e_shortcode.php
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/plugin.php,v $
|
||||
| $Revision: 1.43 $
|
||||
| $Date: 2009-09-10 15:39:09 $
|
||||
| $Revision: 1.44 $
|
||||
| $Date: 2009-09-19 17:43:18 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -754,6 +754,7 @@ class pluginManager{
|
||||
global $tp, $plugin, $frm;
|
||||
|
||||
if (empty($pluginList)) return '';
|
||||
|
||||
|
||||
$text = "";
|
||||
|
||||
@@ -770,6 +771,12 @@ class pluginManager{
|
||||
{
|
||||
$plug_vars = $plugin->plug_vars;
|
||||
}
|
||||
|
||||
if(varset($plug['plugin_category']) == "menu") // Hide "Menu Only" plugins.
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if($plug_vars)
|
||||
{
|
||||
|
||||
|
Reference in New Issue
Block a user