1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +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;
$plug_id = array();
$plugin_array = array();
e107::getDb()->db_Select("plugin", "*", "plugin_installflag = 1"); // Grab plugin IDs.
while ($row = e107::getDb()->db_Fetch())
{

View File

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