[pLog-svn] r5560 - in plugins/branches/lifetype-1.2/moblog: . class/moblog

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Jun 22 06:41:07 EDT 2007


Author: oscar
Date: 2007-06-22 06:41:06 -0400 (Fri, 22 Jun 2007)
New Revision: 5560

Modified:
   plugins/branches/lifetype-1.2/moblog/class/moblog/moblogrequest.class.php
   plugins/branches/lifetype-1.2/moblog/class/moblog/moblogresponse.class.php
   plugins/branches/lifetype-1.2/moblog/pluginmoblog.class.php
Log:
Replaced some occurrences of "pLog" with "Lifetype", made it possible to specify a "password" parameter in the request to moblog.php (rather than forcing it to be in te body of the message), and did some additional cleanup.


Modified: plugins/branches/lifetype-1.2/moblog/class/moblog/moblogrequest.class.php
===================================================================
--- plugins/branches/lifetype-1.2/moblog/class/moblog/moblogrequest.class.php	2007-06-21 20:49:48 UTC (rev 5559)
+++ plugins/branches/lifetype-1.2/moblog/class/moblog/moblogrequest.class.php	2007-06-22 10:41:06 UTC (rev 5560)
@@ -43,8 +43,9 @@
             // by a default user and blog id cannot be used as 'gateways'
             isset( $request["blogId"] ) ? $this->_blogId = $request["blogId"] : $this->_blogId = "";
             isset( $request["user"] ) ? $this->_user = $request["user"] : $this->_user = "";
+            isset( $request["password"] ) ? $this->_pass = $request["password"] : $this->_pass = "";
             
-            MoblogLogger::log( "From REQUEST: user = ".$this->_user." - blogId = ".$this->_blogId );
+            MoblogLogger::log( "From REQUEST: user = ".$this->_user." - blogId = ".$this->_blogId." - pass = ".$this->_pass );
             
             // parse the mime message
             $decode = new Mail_mimeDecode( $this->_message, "\r\n" );

Modified: plugins/branches/lifetype-1.2/moblog/class/moblog/moblogresponse.class.php
===================================================================
--- plugins/branches/lifetype-1.2/moblog/class/moblog/moblogresponse.class.php	2007-06-21 20:49:48 UTC (rev 5559)
+++ plugins/branches/lifetype-1.2/moblog/class/moblog/moblogresponse.class.php	2007-06-22 10:41:06 UTC (rev 5560)
@@ -8,7 +8,7 @@
     /**
      * this is the response that we will send back to the user
      *
-     * It uses LifeType's messaging service to send the email, so we will
+     * It uses Lifetype's messaging service to send the email, so we will
      * use the same settings as used by the core itself to send
      * messages.
      */

Modified: plugins/branches/lifetype-1.2/moblog/pluginmoblog.class.php
===================================================================
--- plugins/branches/lifetype-1.2/moblog/pluginmoblog.class.php	2007-06-21 20:49:48 UTC (rev 5559)
+++ plugins/branches/lifetype-1.2/moblog/pluginmoblog.class.php	2007-06-22 10:41:06 UTC (rev 5560)
@@ -4,7 +4,7 @@
     lt_include( PLOG_CLASS_PATH."plugins/moblog/class/security/moblogbatchfilter.class.php" );
     
     /**
-     * implementation a plugin to give plog moblogging features (posting via email)
+     * implementation a plugin to give Lifetype moblogging features (posting via email)
      */
     class PluginMoblog extends PluginBase
     {
@@ -12,17 +12,17 @@
         function PluginMoblog( $source )
         {
             $this->id = "moblog";
-            $this->author = "The LifeType Project";
+            $this->author = "The Lifetype Project";
             $this->locales = Array();
-			$this->version = "20070315";
+			$this->version = "20070622";
             $this->desc = "
 Send a message with the following format ('start' and 'end' messages not included!):<br/>
 <br/>
 --- start of moblog message format ---<br/>
 <br/>
-USER: your-plog-username<br/>
-PASS: your-plog-password<br/>
-BLOG: your-plog-blog-name<br/>
+USER: your-lifetype-username<br/>
+PASS: your-lifetype-password<br/>
+BLOG: your-lifetype-blog-name<br/>
 <br/>
 --- end of moblog message format ---<br/>
 <br/>



More information about the pLog-svn mailing list