Index: trunk/extensions/SocialProfile/UserStatus/UserStatus_AjaxFunctions.php |
— | — | @@ -0,0 +1,12 @@ |
| 2 | +<?php |
| 3 | +$wgAjaxExportList[] = 'wfSaveStatus'; |
| 4 | +function wfSaveStatus( $u_id, $status) { |
| 5 | + $us_class = new UserStatusClass($u_id); |
| 6 | + $us_class->setStatus($u_id, $status); |
| 7 | + $user_status_array = $us_class->getStatus($u_id); |
| 8 | + $buf=$user_status_array['us_status']; |
| 9 | + $us ="$buf"; |
| 10 | + $us.=" <a href=\"javascript:toEditMode('$buf','$u_id');\">Edit</a>"; |
| 11 | + return $us; |
| 12 | +} |
| 13 | +?> |
Property changes on: trunk/extensions/SocialProfile/UserStatus/UserStatus_AjaxFunctions.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 14 | + native |