[pLog-svn] r1345 - in plugins/trunk/port: class/action templates
mark at devel.plogworld.net
mark at devel.plogworld.net
Mon Mar 7 14:55:41 GMT 2005
Author: mark
Date: 2005-03-07 14:55:40 +0000 (Mon, 07 Mar 2005)
New Revision: 1345
Removed:
plugins/trunk/port/templates/pluginsettings.template.bak
Modified:
plugins/trunk/port/class/action/adminpluginportconfigaction.class.php
Log:
Fix some basic errors first. Then I can drill down to this plugin.
Modified: plugins/trunk/port/class/action/adminpluginportconfigaction.class.php
===================================================================
--- plugins/trunk/port/class/action/adminpluginportconfigaction.class.php 2005-03-07 14:04:08 UTC (rev 1344)
+++ plugins/trunk/port/class/action/adminpluginportconfigaction.class.php 2005-03-07 14:55:40 UTC (rev 1345)
@@ -1,6 +1,7 @@
<?php
- include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
+ include_once( PLOG_CLASS_PATH."class/action/admin/siteadminaction.class.php" );
+ include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
/**
* Shows the main initial screen of the Port Plugin
@@ -10,7 +11,7 @@
function AdminPluginPortConfigAction ( $actionInfo, $request )
{
- $this->AdminAction( $actionInfo, $request );
+ $this->SiteAdminAction( $actionInfo, $request );
}
function perform()
Deleted: plugins/trunk/port/templates/pluginsettings.template.bak
===================================================================
--- plugins/trunk/port/templates/pluginsettings.template.bak 2005-03-07 14:04:08 UTC (rev 1344)
+++ plugins/trunk/port/templates/pluginsettings.template.bak 2005-03-07 14:55:40 UTC (rev 1345)
@@ -1,33 +0,0 @@
-<h3>Port Plugin</h3>
-<p>
-This plugin will allow you to import your entries from other blogging platforms.
-This plugin currently supports users, blogs, categories, articles, and comments.<br /><br />
-There is no support for blog users built in; if you need to import entries have the
-site administrator handle the problem for you. (The plugin has not implemented its own
-checks, so blog users would be able to create other users, blogs, etc.).
-</p>
-<p>
-<ul>TODO:
-<li>Occasional bug in adding comments to the wrong article. Could not duplicate
- the results. Bug Tracker!</li>
-<li>Support for extra features (trackback, etc)</li>
-</ul>
-</p>
-<p>
-<form name="PortConfig" action="admin.php" method="post">
- Profile Name (movabletype, bblog, etc):
-<input type="text" name="profile" value="{$_profile}" width="25" /><br/><br/>
-
-Input the login information for your selected profile's SQL database:<br />
-Hostname: <input type="text" name="hostname" value="" width="25" /><br />
-{$locale->tr("username")}: <input type="text" name="username" value="" width="25" /><br />
-{$locale->tr("password")}: <input type="password" name="password" value="" width="25" /><br />
-DB Name: <input type="text" name="dbname" value="" width="25" /><br /><br />
-
-DB Prefix: <input type="text" name="prefix" value="" width="25" /><br />
- [optional. if it is default prefix, it's already been defined in the profile]<br /><br />
-
- <input type="hidden" name="op" value="PortUpdateConfig" />
- <input type="submit" name="{$locale->tr("continue")}" value="{$locale->tr("continue")}" />
-</form>
-</p>
\ No newline at end of file
More information about the pLog-svn
mailing list