mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
Metaweblog fixes
This commit is contained in:
parent
b70c627f96
commit
0b04085dcc
21
e107_plugins/metaweblog/admin_config.php
Normal file
21
e107_plugins/metaweblog/admin_config.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/*
|
||||
+---------------------------------------------------------------+
|
||||
| e107 website system
|
||||
| Easy Admin Page by Cameron. (www.e107coders.org)
|
||||
| a part of Your_plugin v3.0
|
||||
| Released under the terms and conditions of the
|
||||
| GNU General Public License (http://gnu.org).
|
||||
| Suitable only for e107 v0.7
|
||||
+---------------------------------------------------------------+
|
||||
*/
|
||||
require_once("../../class2.php");
|
||||
if(!getperms("P")){ header("location:".e_BASE."index.php"); exit; }
|
||||
|
||||
include_lan(e_PLUGIN."metaweblog/languages/".e_LANGUAGE.".php");
|
||||
require_once(e_ADMIN."auth.php");
|
||||
|
||||
$text .= XMLRPC_HELP_011;
|
||||
$ns -> tablerender(XMLRPC_CONFIG_001, $text);
|
||||
require_once(e_ADMIN."footer.php");
|
||||
?>
|
@ -4,19 +4,19 @@
|
||||
| e107 website system - Language File.
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/metaweblog/languages/English.php,v $
|
||||
| $Revision: 1.1 $
|
||||
| $Date: 2009-10-20 07:47:02 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2009-10-24 12:50:15 $
|
||||
| $Author: e107coders $
|
||||
| Italian Translation: e107 Italian Team http://www.e107it.org
|
||||
+-----------------------------------------------------------------------------+
|
||||
*/
|
||||
define("XMLRPC_ADMIN_001", "Main Menu");
|
||||
define("XMLRPC_ADMIN_002", "Configuration");
|
||||
define("XMLRPC_ADMIN_003", "Admin");
|
||||
define("XMLRPC_ADMIN_004", "Options");
|
||||
define("XMLRPC_ADMIN_005", "Prefs");
|
||||
// define("XMLRPC_ADMIN_002", "Configuration"); use common e107 LANS: LAN_CONFIGURATION
|
||||
// define("XMLRPC_ADMIN_003", "Admin");
|
||||
// define("XMLRPC_ADMIN_004", "Options"); LAN_OPTIONS
|
||||
// define("XMLRPC_ADMIN_005", "Prefs"); LAN_PREFS
|
||||
|
||||
define("XMLRPC_CONFIG_001", "eXMLRPC - Configuration");
|
||||
define("XMLRPC_CONFIG_001", "Metaweblog :: Configuration");
|
||||
|
||||
define("XMLRPC_PREFS_001", "eXMLRPC - Options");
|
||||
define("XMLRPC_PREFS_002", "eXMLRPC");
|
||||
@ -27,7 +27,7 @@ define("XMLRPC_PREFS_006", "Blog Name for client");
|
||||
|
||||
define("XMLRPC_HELP_001", "Instructions");
|
||||
define("XMLRPC_HELP_010", "General");
|
||||
define("XMLRPC_HELP_011", "This plugin itself does nothing! It's only for settings some XMLRPC varibles. Point your XMLRPC client (es: Windos Live Writer) to http://mysite/e107_plugins/eXMLRPC/xmlrpc.php eand fill out requested values. Warning! This plugin is experimental!");
|
||||
define("XMLRPC_HELP_011", "This plugin itself does nothing! It's only for settings some XMLRPC varibles. Point your XMLRPC client (eg: Windows Live Writer) to <b>http://".SITEURL."metaweblog.php</b> and fill out the requested values. Warning! This plugin is experimental!");
|
||||
define("XMLRPC_HELP_020", "Plugin title");
|
||||
define("XMLRPC_HELP_021", "No matter plugin does not output");
|
||||
define("XMLRPC_HELP_030", "News render type");
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Id: plugin.xml,v 1.1 2009-10-20 03:49:22 e107coders Exp $ -->
|
||||
<!-- $Id: plugin.xml,v 1.2 2009-10-24 12:50:15 e107coders Exp $ -->
|
||||
<e107Plugin name="Metaweblog" version="1.0" compatibility="0.8" installRequired="true" >
|
||||
<author name="e107 Inc." url="http://e107.org" />
|
||||
<description>Metaweblog API support for e107</description>
|
||||
<category>tools</category>
|
||||
<adminLinks>
|
||||
<link url='admin_prefs.php' description='Configure' icon='images/icon_32.png' iconSmall='images/icon_16.png' primary='true' >Configure</link>
|
||||
<link url='admin_config.php' description='Configure' icon='images/icon_32.png' iconSmall='images/icon_16.png' primary='true' >Configure</link>
|
||||
</adminLinks>
|
||||
<pluginPrefs>
|
||||
</pluginPrefs>
|
||||
|
27
metaweblog.php
Normal file
27
metaweblog.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
|
|
||||
| Copyright (C) 2001-2009 e107 Inc
|
||||
| http://e107.org
|
||||
|
|
||||
|
|
||||
| Released under the terms and conditions of the
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/metaweblog.php,v $
|
||||
| $Revision: 1.1 $
|
||||
| $Date: 2009-10-24 12:50:15 $
|
||||
| $Author: e107coders $
|
||||
|
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
require_once("class2.php");
|
||||
|
||||
require_once(e_PLUGIN."metaweblog/metaweblog.php");
|
||||
|
||||
exit();
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user