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