diff options
author | Zach Copley <zach@controlyourself.ca> | 2008-12-05 22:01:32 -0500 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2008-12-05 22:01:32 -0500 |
commit | dccf8374cf7e4673cbc83f695e1665031bdf6539 (patch) | |
tree | 72969db82213d3cc38d46553e1863441016479d0 /actions/facebooksettings.php | |
parent | 92ea88fd6030b3def92e100291102187be032490 (diff) |
trac750 - Exoskeleton of a nascent Facebook app
darcs-hash:20081206030132-7b5ce-96c38ab67edd3d58f8722ef25852a6143f05a86b.gz
Diffstat (limited to 'actions/facebooksettings.php')
-rw-r--r-- | actions/facebooksettings.php | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/actions/facebooksettings.php b/actions/facebooksettings.php new file mode 100644 index 000000000..3855a0c29 --- /dev/null +++ b/actions/facebooksettings.php @@ -0,0 +1,46 @@ +<?php +/* + * Laconica - a distributed open-source microblogging tool + * Copyright (C) 2008, Controlez-Vous, Inc. + * + * This program is free software: you can redistribute it and/or modify + * 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/>. + */ + +if (!defined('LACONICA')) { exit(1); } + +require_once(INSTALLDIR.'/lib/facebookaction.php'); + +class FacebooksettingsAction extends FacebookAction { + + function handle($args) { + parent::handle($args); + + $this->display(); + } + + function display() { + + $facebook = $this->get_facebook(); + + $fbuid = $facebook->require_login(); + + $this->show_header('Settings'); + + echo '<h2>Coming soon...</h2>'; + + $this->show_footer(); + + } + +} |