2008-09-17 04:53:46 +09:00
|
|
|
<?php
|
2009-01-21 10:49:47 +09:00
|
|
|
/**
|
|
|
|
* Laconica, the distributed open-source microblogging tool
|
2008-09-17 04:53:46 +09:00
|
|
|
*
|
2009-01-21 10:49:47 +09:00
|
|
|
* User profile page
|
|
|
|
*
|
|
|
|
* PHP version 5
|
|
|
|
*
|
|
|
|
* LICENCE: This program is free software: you can redistribute it and/or modify
|
2008-09-17 04:53:46 +09:00
|
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2009-01-21 10:49:47 +09:00
|
|
|
*
|
|
|
|
* @category Personal
|
|
|
|
* @package Laconica
|
|
|
|
* @author Evan Prodromou <evan@controlyourself.ca>
|
|
|
|
* @author Sarven Capadisli <csarven@controlyourself.ca>
|
|
|
|
* @copyright 2008-2009 Control Yourself, Inc.
|
|
|
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
|
|
|
* @link http://laconi.ca/
|
2008-09-17 04:53:46 +09:00
|
|
|
*/
|
|
|
|
|
2009-01-21 10:49:47 +09:00
|
|
|
if (!defined('LACONICA')) {
|
|
|
|
exit(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Base class for user profile page
|
|
|
|
*
|
|
|
|
* @category Personal
|
|
|
|
* @package Laconica
|
|
|
|
* @author Evan Prodromou <evan@controlyourself.ca>
|
|
|
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
|
|
|
* @link http://laconi.ca/
|
|
|
|
*/
|
2008-09-17 04:53:46 +09:00
|
|
|
|
2008-12-24 04:49:23 +09:00
|
|
|
class PersonalAction extends Action
|
|
|
|
{
|
2009-01-21 10:49:47 +09:00
|
|
|
|
|
|
|
var $user = null;
|
|
|
|
|
|
|
|
function isReadOnly()
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2008-12-24 04:33:23 +09:00
|
|
|
function handle($args)
|
|
|
|
{
|
2008-12-24 04:19:07 +09:00
|
|
|
parent::handle($args);
|
2009-01-21 10:49:47 +09:00
|
|
|
common_set_returnto($this->selfUrl());
|
2008-12-24 04:19:07 +09:00
|
|
|
}
|
|
|
|
|
2008-11-15 06:05:06 +09:00
|
|
|
}
|