2008-05-14 23:54:36 +09:00
|
|
|
<?php
|
2009-01-17 04:35:37 +09:00
|
|
|
/**
|
2009-08-26 07:12:20 +09:00
|
|
|
* StatusNet, the distributed open-source microblogging tool
|
2008-05-21 04:14:12 +09:00
|
|
|
*
|
2009-01-17 04:35:37 +09:00
|
|
|
* Base class for settings actions
|
|
|
|
*
|
|
|
|
* PHP version 5
|
|
|
|
*
|
|
|
|
* LICENCE: This program is free software: you can redistribute it and/or modify
|
2008-05-15 04:26:48 +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.
|
2008-05-21 04:14:12 +09:00
|
|
|
*
|
2008-05-15 04:26:48 +09:00
|
|
|
* 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.
|
2008-05-21 04:14:12 +09:00
|
|
|
*
|
2008-05-15 04:26:48 +09:00
|
|
|
* 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-17 04:35:37 +09:00
|
|
|
*
|
|
|
|
* @category Settings
|
2009-08-26 07:12:20 +09:00
|
|
|
* @package StatusNet
|
2009-08-26 07:19:04 +09:00
|
|
|
* @author Evan Prodromou <evan@status.net>
|
2009-08-26 07:12:20 +09:00
|
|
|
* @copyright 2008-2009 StatusNet, Inc.
|
2009-01-17 04:35:37 +09:00
|
|
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
2009-08-26 07:16:46 +09:00
|
|
|
* @link http://status.net/
|
2008-05-15 04:26:48 +09:00
|
|
|
*/
|
2008-05-21 04:14:12 +09:00
|
|
|
|
2015-07-17 02:03:53 +09:00
|
|
|
if (!defined('GNUSOCIAL')) { exit(1); }
|
2009-01-17 04:35:37 +09:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Base class for settings group of actions
|
|
|
|
*
|
|
|
|
* @category Settings
|
2009-08-26 07:12:20 +09:00
|
|
|
* @package StatusNet
|
2009-08-26 07:19:04 +09:00
|
|
|
* @author Evan Prodromou <evan@status.net>
|
2009-01-17 04:35:37 +09:00
|
|
|
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
2009-08-26 07:16:46 +09:00
|
|
|
* @link http://status.net/
|
2009-01-17 04:35:37 +09:00
|
|
|
*
|
|
|
|
* @see Widget
|
|
|
|
*/
|
2008-05-14 23:54:36 +09:00
|
|
|
|
2015-07-17 02:03:53 +09:00
|
|
|
class SettingsAction extends FormAction
|
2008-12-24 04:49:23 +09:00
|
|
|
{
|
2011-01-24 02:35:35 +09:00
|
|
|
/**
|
|
|
|
* Show the local navigation menu
|
|
|
|
*
|
|
|
|
* This is the same for all settings, so we show it here.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
|
|
|
|
function showLocalNav()
|
|
|
|
{
|
|
|
|
$menu = new SettingsNav($this);
|
|
|
|
$menu->show();
|
|
|
|
}
|
2011-03-03 12:09:26 +09:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Show notice form.
|
|
|
|
*
|
|
|
|
* @return nothing
|
|
|
|
*/
|
|
|
|
|
|
|
|
function showNoticeForm()
|
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
2011-03-15 01:00:07 +09:00
|
|
|
|
|
|
|
function showProfileBlock()
|
|
|
|
{
|
|
|
|
}
|
2008-05-16 01:28:44 +09:00
|
|
|
}
|