1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 01:30:32 +02:00

Admin logging, plugin.xml for chatbox. Other tidying up

This commit is contained in:
e107steved
2008-12-11 21:13:48 +00:00
parent 8d8be1b5cf
commit 9af14eaf19
14 changed files with 151 additions and 177 deletions

View File

@@ -11,21 +11,21 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/admin_config.php,v $
| $Revision: 1.6 $
| $Date: 2008-08-17 11:54:38 $
| $Revision: 1.7 $
| $Date: 2008-12-11 21:13:48 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
if (!is_object($tp)) $tp = new e_parse;
if (!getperms("P"))
if (!getperms("P") || !plugInstalled('poll'))
{
header("location:".e_BASE."index.php");
exit;
}
$e_sub_cat = 'poll';
include_lan_admin('poll');
include_lan(e_PLUGIN.'poll/languages/English_admin_poll.php');
require_once(e_ADMIN."auth.php");
require_once(e_PLUGIN."poll/poll_class.php");
require_once(e_HANDLER."form_handler.php");

View File

@@ -11,12 +11,17 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/oldpolls.php,v $
| $Revision: 1.3 $
| $Date: 2007-03-03 19:41:00 $
| $Revision: 1.4 $
| $Date: 2008-12-11 21:13:48 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
if (!plugInstalled('poll'))
{
header("Location: ".e_BASE."index.php");
exit;
}
require_once(HEADERF);
require_once(e_HANDLER."comment_class.php");
$cobj = new comment;

View File

@@ -11,12 +11,18 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/poll.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:40 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2008-12-11 21:13:48 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
if (!plugInstalled('poll'))
{
header("Location: ".e_BASE."index.php");
exit;
}
require_once(HEADERF);
require_once(e_PLUGIN."poll/poll_menu.php");

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/poll/poll_menu.php,v $
| $Revision: 1.2 $
| $Date: 2008-06-03 21:31:31 $
| $Revision: 1.3 $
| $Date: 2008-12-11 21:13:48 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -25,6 +25,11 @@ if(defined("POLLRENDERED"))
{
// return;
}
if (!plugInstalled('poll'))
{
return '';
}
if(!defined("POLLCLASS"))
{
require(e_PLUGIN."poll/poll_class.php");
@@ -37,8 +42,7 @@ if(!isset($poll) || !is_object($poll))
if(!defined("POLL_1"))
{
/* if menu is being called from comments, lan files have to be included manually ... */
@include_once(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
@include_once(e_PLUGIN."poll/languages/English.php");
@include_lan(e_PLUGIN."poll/languages/".e_LANGUAGE.".php");
}
if (empty($poll_to_show))