1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 13:17:24 +02:00

infopanel fix (empty when no plugins installed)

This commit is contained in:
secretr
2010-10-28 11:12:45 +00:00
parent c766c5a8f2
commit a930926479
2 changed files with 16 additions and 19 deletions

View File

@@ -327,6 +327,7 @@ function getPluginLinks($iconSize = E_16_PLUGMANAGER, $linkStyle = 'adminb')
global $sql, $tp; global $sql, $tp;
$plug_id = array(); $plug_id = array();
$plugin_array = array();
e107::getDb()->db_Select("plugin", "*", "plugin_installflag = 1"); // Grab plugin IDs. e107::getDb()->db_Select("plugin", "*", "plugin_installflag = 1"); // Grab plugin IDs.
while ($row = e107::getDb()->db_Fetch()) while ($row = e107::getDb()->db_Fetch())
{ {

View File

@@ -1,29 +1,25 @@
<?php <?php
/* /*
+ ----------------------------------------------------------------------------+ * e107 website system
| e107 website system *
| * Copyright (C) 2008-2010 e107 Inc (e107.org)
| Copyright (C) 2008-2009 e107 Inc (e107.org) * Released under the terms and conditions of the
| http://e107.org * GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
| *
| * Info panel admin view
| Released under the terms and conditions of the *
| GNU General Public License (http://gnu.org). * $URL$
| * $Id$
| $Source: /cvs_backup/e107_0.8/e107_admin/includes/infopanel.php,v $
| $Revision$
| $Date$
| $Author$
+----------------------------------------------------------------------------+
*/ */
if (!defined('e107_INIT')) if (!defined('e107_INIT'))
{ {
exit; exit;
} }
require_once (e_HANDLER."message_handler.php"); //require_once (e_HANDLER."message_handler.php");
$emessage = &eMessage::getInstance(); $emessage = e107::getMessage();
require_once (e_HANDLER."form_handler.php"); // require_once (e_HANDLER."form_handler.php");
$frm = new e_form(true); $frm = e107::getForm();
//enable inner tabindex counter //enable inner tabindex counter
if (isset($_POST['submit-mye107']) || varset($_POST['submit-mymenus'])) if (isset($_POST['submit-mye107']) || varset($_POST['submit-mymenus']))