diff --git a/e107_plugins/metaweblog/xmlrpc.inc b/e107_handlers/xmlrpc/xmlrpc.inc similarity index 99% rename from e107_plugins/metaweblog/xmlrpc.inc rename to e107_handlers/xmlrpc/xmlrpc.inc index 0a56dd10b..d04f13adb 100644 --- a/e107_plugins/metaweblog/xmlrpc.inc +++ b/e107_handlers/xmlrpc/xmlrpc.inc @@ -1,7 +1,7 @@ -// $Id: xmlrpc.inc,v 1.1 2009-10-20 03:49:22 e107coders Exp $ +// $Id: xmlrpc.inc,v 1.1 2009-10-20 21:02:09 e107coders Exp $ // Copyright (c) 1999,2000,2002 Edd Dumbill. // All rights reserved. diff --git a/e107_plugins/metaweblog/xmlrpc_wrappers.inc b/e107_handlers/xmlrpc/xmlrpc_wrappers.inc similarity index 99% rename from e107_plugins/metaweblog/xmlrpc_wrappers.inc rename to e107_handlers/xmlrpc/xmlrpc_wrappers.inc index 7c32c9bd2..a8eed72b7 100644 --- a/e107_plugins/metaweblog/xmlrpc_wrappers.inc +++ b/e107_handlers/xmlrpc/xmlrpc_wrappers.inc @@ -3,7 +3,7 @@ * PHP-XMLRPC "wrapper" functions * Generate stubs to transparently access xmlrpc methods as php functions and viceversa * - * @version $Id: xmlrpc_wrappers.inc,v 1.1 2009-10-20 03:49:22 e107coders Exp $ + * @version $Id: xmlrpc_wrappers.inc,v 1.1 2009-10-20 21:02:09 e107coders Exp $ * @author Gaetano Giunta * @copyright (C) 2006-2009 G. Giunta * @license code licensed under the BSD License: http://phpxmlrpc.sourceforge.net/license.txt diff --git a/e107_plugins/metaweblog/xmlrpcs.inc b/e107_handlers/xmlrpc/xmlrpcs.inc similarity index 99% rename from e107_plugins/metaweblog/xmlrpcs.inc rename to e107_handlers/xmlrpc/xmlrpcs.inc index 04924a8f9..76d89badf 100644 --- a/e107_plugins/metaweblog/xmlrpcs.inc +++ b/e107_handlers/xmlrpc/xmlrpcs.inc @@ -1,7 +1,7 @@ -// $Id: xmlrpcs.inc,v 1.1 2009-10-20 03:49:22 e107coders Exp $ +// $Id: xmlrpcs.inc,v 1.1 2009-10-20 21:02:09 e107coders Exp $ // Copyright (c) 1999,2000,2002 Edd Dumbill. // All rights reserved. diff --git a/e107_plugins/forum/forum_management.php b/e107_plugins/forum/forum_management.php deleted file mode 100755 index 4de6382bf..000000000 --- a/e107_plugins/forum/forum_management.php +++ /dev/null @@ -1,48 +0,0 @@ -
"; - } - - function forum_install_post(&$var) - { - global $sql; - echo "Setting all user_forums to 0
"; - $sql -> db_Update("user", "user_forums='0'"); - } - - function forum_uninstall(&$var) - { - global $sql; - $sql -> db_Update("user", "user_forums='0'"); - } - - function forum_upgrade(&$var) - { - global $sql; - if(version_compare($var['current_plug']['plugin_version'], "1.2", "<")) - { - $qry = "ALTER TABLE #forum ADD forum_postclass TINYINT( 3 ) UNSIGNED DEFAULT '0' NOT NULL ;"; - $sql->db_Select_gen($qry); - } - } -} diff --git a/e107_plugins/gsitemap/weblog_pinger.php b/e107_plugins/gsitemap/weblog_pinger.php index 9f822e47c..8cc82a42e 100644 --- a/e107_plugins/gsitemap/weblog_pinger.php +++ b/e107_plugins/gsitemap/weblog_pinger.php @@ -46,7 +46,9 @@ if(!plugInstalled('gsitemap')) // include the XML-RPC class library -require_once('xmlrpc/xmlrpc.inc'); +include (e_HANDLER.'xmlrpc/xmlrpc.inc'); +include (e_HANDLER.'xmlrpc/xmlrpcs.inc'); +include (e_HANDLER.'xmlrpc/xmlrpc_wrappers.inc'); class Weblog_Pinger { // Weblogs.Com XML-RPC settings diff --git a/e107_plugins/metaweblog/metaweblog.php b/e107_plugins/metaweblog/metaweblog.php index 30e160fab..2466fbac2 100644 --- a/e107_plugins/metaweblog/metaweblog.php +++ b/e107_plugins/metaweblog/metaweblog.php @@ -11,9 +11,9 @@ if (!e107::isInstalled('metaweblog')) header("location:".e_BASE."index.php"); } -include (e_PLUGIN.'metaweblog/xmlrpc.inc'); -include (e_PLUGIN.'metaweblog/xmlrpcs.inc'); -include (e_PLUGIN.'metaweblog/xmlrpc_wrappers.inc'); +include (e_HANDLER.'xmlrpc/xmlrpc.inc'); +include (e_HANDLER.'xmlrpc/xmlrpcs.inc'); +include (e_HANDLER.'xmlrpc/xmlrpc_wrappers.inc'); //general note: XMLRPC method functions parameters //have this rule: 1st parameter is the type of the OUT data (result: array,struct,etc), from 2nd are the IN parameters diff --git a/e107_plugins/release/admin_config.php b/e107_plugins/release/admin_config.php index cf443b5ad..253f6953b 100644 --- a/e107_plugins/release/admin_config.php +++ b/e107_plugins/release/admin_config.php @@ -9,8 +9,8 @@ * e107 Release Plugin * * $Source: /cvs_backup/e107_0.8/e107_plugins/release/admin_config.php,v $ - * $Revision: 1.1 $ - * $Date: 2009-09-29 00:03:01 $ + * $Revision: 1.2 $ + * $Date: 2009-10-20 21:02:02 $ * $Author: e107coders $ * */ @@ -26,6 +26,7 @@ $ef = new efeed; if(varset($_POST['update']) || varset($_POST['create'])) { + $id = intval($_POST['record_id']); $ef->submitPage($id); } diff --git a/e107_plugins/tinymce/admin_config.php b/e107_plugins/tinymce/admin_config.php index bad5dcff0..cee6448aa 100644 --- a/e107_plugins/tinymce/admin_config.php +++ b/e107_plugins/tinymce/admin_config.php @@ -9,8 +9,8 @@ * Plugin Administration - gsitemap * * $Source: /cvs_backup/e107_0.8/e107_plugins/tinymce/admin_config.php,v $ - * $Revision: 1.8 $ - * $Date: 2009-10-12 06:38:01 $ + * $Revision: 1.9 $ + * $Date: 2009-10-20 21:02:02 $ * $Author: e107coders $ * */ @@ -191,6 +191,7 @@ class tinymce function renderValue($key,$row) { $att = $this->fields[$key]; + $frm = e107::getForm(); if($key == "options") { @@ -200,6 +201,16 @@ class tinymce return $text; } + if($key == "tinymce_userclass") + { + return $frm->uc_label($row[$key]); + } + + if($key == "tinymce_plugins") + { + return str_replace(",","
",$row[$key]); + } + switch($att['type']) { case 'url':