diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common.php | 2 | ||||
-rw-r--r-- | lib/groupnav.php | 6 | ||||
-rw-r--r-- | lib/util.php | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/lib/common.php b/lib/common.php index 1068d4c13..a2f9b9bfe 100644 --- a/lib/common.php +++ b/lib/common.php @@ -19,7 +19,7 @@ if (!defined('LACONICA')) { exit(1); } -define('LACONICA_VERSION', '0.6.4.1'); +define('LACONICA_VERSION', '0.7.0'); define('AVATAR_PROFILE_SIZE', 96); define('AVATAR_STREAM_SIZE', 48); diff --git a/lib/groupnav.php b/lib/groupnav.php index 32803fd42..90bdc1014 100644 --- a/lib/groupnav.php +++ b/lib/groupnav.php @@ -101,6 +101,12 @@ class GroupNav extends Widget sprintf(_('Edit %s group properties'), $nickname), $action_name == 'editgroup', 'nav_group_admin'); + $this->out->menuItem(common_local_url('grouplogo', array('nickname' => + $nickname)), + _('Logo'), + sprintf(_('Add or edit %s logo'), $nickname), + $action_name == 'grouplogo', + 'nav_group_logo'); } $this->out->elementEnd('ul'); } diff --git a/lib/util.php b/lib/util.php index 0b5abfa48..03d6b6199 100644 --- a/lib/util.php +++ b/lib/util.php @@ -898,6 +898,8 @@ function common_fancy_url($action, $args=null) return common_path('group/'.$args['nickname'].'/rss'); case 'groupmembers': return common_path('group/'.$args['nickname'].'/members'); + case 'grouplogo': + return common_path('group/'.$args['nickname'].'/logo'); case 'usergroups': return common_path($args['nickname'].'/groups'); case 'groups': |