From 0db5a8673d57088ab394cdaf372fb81dbd78bcbb Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Thu, 5 Nov 2015 16:20:56 +0100 Subject: Firefox share (that seems now the official name) button added to misc. settings. --- mod/settings.php | 5 +++-- view/css/mod_settings.css | 8 ++++++++ view/tpl/settings.tpl | 14 +++++++++----- 3 files changed, 20 insertions(+), 7 deletions(-) diff --git a/mod/settings.php b/mod/settings.php index 8bfff3765..18bfaeb08 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -1102,12 +1102,13 @@ function settings_content(&$a) { '$expert' => feature_enabled(local_channel(),'expert'), '$hint' => t('Please enable expert mode (in Settings > Additional features) to adjust!'), '$lbl_misc' => t('Miscellaneous Settings'), - '$photo_path' => array('photo_path', t('Default photo upload folder'), get_pconfig(local_channel(),'system','photo_path'), '%Y - current year, %m - current month'), - '$attach_path' => array('attach_path', t('Default file upload folder'), get_pconfig(local_channel(),'system','attach_path'), '%Y - current year, %m - current month'), + '$photo_path' => array('photo_path', t('Default photo upload folder'), get_pconfig(local_channel(),'system','photo_path'), t('%Y - current year, %m - current month')), + '$attach_path' => array('attach_path', t('Default file upload folder'), get_pconfig(local_channel(),'system','attach_path'), t('%Y - current year, %m - current month')), '$menus' => $menu, '$menu_desc' => t('Personal menu to display in your channel pages'), '$removeme' => t('Remove Channel'), '$removechannel' => t('Remove this channel.'), + '$firefoxshare' => t('Firefox Share $Projectname provider'), )); call_hooks('settings_form',$o); diff --git a/view/css/mod_settings.css b/view/css/mod_settings.css index 7eff8e45b..e81d115d4 100644 --- a/view/css/mod_settings.css +++ b/view/css/mod_settings.css @@ -1,3 +1,11 @@ .group { margin-left: 10px; } + +.ffsapilink { + margin: 10px 0; +} + +.channel-menu { + margin-top: 24px; +} diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index ab62ede45..7c1f4578d 100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -136,7 +136,7 @@ - {{if $menus}} +
-
-
+
+ + {{if $menus}} +
- +
+ {{/if}}
- {{/if}}
-- cgit v1.2.3