[pLog-svn] r5850 - in plog/trunk/class: action/admin view/admin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Mon Aug 20 16:25:36 EDT 2007


Author: oscar
Date: 2007-08-20 16:25:35 -0400 (Mon, 20 Aug 2007)
New Revision: 5850

Modified:
   plog/trunk/class/action/admin/adminuserprofileaction.class.php
   plog/trunk/class/view/admin/admineditsiteuserview.class.php
Log:
Fixed the "edit user" screen.


Modified: plog/trunk/class/action/admin/adminuserprofileaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminuserprofileaction.class.php	2007-08-20 20:21:35 UTC (rev 5849)
+++ plog/trunk/class/action/admin/adminuserprofileaction.class.php	2007-08-20 20:25:35 UTC (rev 5850)
@@ -52,5 +52,10 @@
 
             return true;
         }
+
+		function performAjax()
+		{
+			return( $this->perform());
+		}
     }
 ?>
\ No newline at end of file

Modified: plog/trunk/class/view/admin/admineditsiteuserview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditsiteuserview.class.php	2007-08-20 20:21:35 UTC (rev 5849)
+++ plog/trunk/class/view/admin/admineditsiteuserview.class.php	2007-08-20 20:25:35 UTC (rev 5850)
@@ -29,7 +29,10 @@
 				
 			if( $this->_user ) {
 				// in case everything went fine...
-				$this->AdminTemplatedView( $blogInfo, 'userprofile' );
+				if( Request::isXHR())
+					$this->AdminTemplatedView( $blogInfo, 'userprofile_form' );
+				else
+					$this->AdminTemplatedView( $blogInfo, 'userprofile' );
 				// user settings
 				$this->setValue( 'userId', $this->_user->getId());
 				$this->setValue( 'userStatus', $this->_user->getStatus());



More information about the pLog-svn mailing list