diff options
author | zach <zach@controlyourself.ca> | 2008-08-21 23:41:57 -0400 |
---|---|---|
committer | zach <zach@controlyourself.ca> | 2008-08-21 23:41:57 -0400 |
commit | a90b556e214aca4023898a811a86e1a6864f68a9 (patch) | |
tree | 11cea911573d6c25d0bc38874a1d12e7c63f64e7 /lib | |
parent | 87305c10229e0aefb880af215cc70c22283a7e71 (diff) |
Twitter integration - Oh look, a Twitter settings tab.
darcs-hash:20080822034157-462f3-398e2ba92d9c38520ea6518c3ff614b41f3cc7ec.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/settingsaction.php | 5 | ||||
-rw-r--r-- | lib/util.php | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/settingsaction.php b/lib/settingsaction.php index 33fec0f1d..9aa5247d9 100644 --- a/lib/settingsaction.php +++ b/lib/settingsaction.php @@ -100,7 +100,10 @@ class SettingsAction extends Action { _('Updates by SMS')), 'imsettings' => array(_('IM'), - _('Updates by instant messenger (IM)'))); + _('Updates by instant messenger (IM)')), + 'twittersettings' => + array(_('Twitter'), + _('Twitter integration options'))); $action = $this->trimmed('action'); common_element_start('ul', array('id' => 'nav_views')); diff --git a/lib/util.php b/lib/util.php index f0aabfa29..0ac679afc 100644 --- a/lib/util.php +++ b/lib/util.php @@ -848,6 +848,8 @@ function common_fancy_url($action, $args=NULL) { return common_path('settings/openid'); case 'smssettings': return common_path('settings/sms'); + case 'twittersettings': + return common_path('settings/twitter'); case 'newnotice': if ($args && $args['replyto']) { return common_path('notice/new?replyto='.$args['replyto']); |