From: Hypolite Petovan Date: Fri, 5 Jan 2018 07:17:36 +0000 (-0500) Subject: Improve connectors settings display X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c157e7ffa4d1e9a62e24a367b91b35ed38cf4b65;p=friendica.git Improve connectors settings display - Move settings templates to subfolder - Add accordion display to "General Theme Settings" in frio - Replace hand-written template with form field includes - Simplify sprintf(t()) structures --- diff --git a/mod/settings.php b/mod/settings.php index 5a430e39d1..75775e9054 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -36,7 +36,7 @@ function settings_init(App $a) { // These lines provide the javascript needed by the acl selector - $tpl = get_markup_template("settings-head.tpl"); + $tpl = get_markup_template('settings/head.tpl'); $a->page['htmlhead'] .= replace_macros($tpl,array( '$ispublic' => t('everybody') )); @@ -683,7 +683,7 @@ function settings_content(App $a) { if (($a->argc > 1) && ($a->argv[1] === 'oauth')) { if (($a->argc > 2) && ($a->argv[2] === 'add')) { - $tpl = get_markup_template("settings_oauth_edit.tpl"); + $tpl = get_markup_template('settings/oauth_edit.tpl'); $o .= replace_macros($tpl, array( '$form_security_token' => get_form_security_token("settings_oauth"), '$title' => t('Add application'), @@ -709,7 +709,7 @@ function settings_content(App $a) { } $app = $r[0]; - $tpl = get_markup_template("settings_oauth_edit.tpl"); + $tpl = get_markup_template('settings/oauth_edit.tpl'); $o .= replace_macros($tpl, array( '$form_security_token' => get_form_security_token("settings_oauth"), '$title' => t('Add application'), @@ -743,7 +743,7 @@ function settings_content(App $a) { local_user()); - $tpl = get_markup_template("settings_oauth.tpl"); + $tpl = get_markup_template('settings/oauth.tpl'); $o .= replace_macros($tpl, array( '$form_security_token' => get_form_security_token("settings_oauth"), '$baseurl' => System::baseUrl(true), @@ -771,7 +771,7 @@ function settings_content(App $a) { call_hooks('plugin_settings', $settings_addons); - $tpl = get_markup_template("settings_addons.tpl"); + $tpl = get_markup_template('settings/addons.tpl'); $o .= replace_macros($tpl, array( '$form_security_token' => get_form_security_token("settings_addon"), '$title' => t('Plugin Settings'), @@ -792,8 +792,7 @@ function settings_content(App $a) { } } - - $tpl = get_markup_template("settings_features.tpl"); + $tpl = get_markup_template('settings/features.tpl'); $o .= replace_macros($tpl, array( '$form_security_token' => get_form_security_token("settings_features"), '$title' => t('Additional Features'), @@ -804,58 +803,22 @@ function settings_content(App $a) { } if (($a->argc > 1) && ($a->argv[1] === 'connectors')) { - - $settings_connectors = ''; - $settings_connectors .= '

'. t('General Social Media Settings').'

'; - $settings_connectors .= '
'; - $settings_connectors .= '
'; - + $settings_connectors = ''; call_hooks('connector_settings', $settings_connectors); if (is_site_admin()) { - $diasp_enabled = sprintf(t('Built-in support for %s connectivity is %s'), t('Diaspora'), ((Config::get('system', 'diaspora_enabled')) ? t('enabled') : t('disabled'))); - $ostat_enabled = sprintf(t('Built-in support for %s connectivity is %s'), t('GNU Social (OStatus)'), ((Config::get('system', 'ostatus_disabled')) ? t('disabled') : t('enabled'))); + $diasp_enabled = t('Built-in support for %s connectivity is %s', t('Diaspora'), ((Config::get('system', 'diaspora_enabled')) ? t('enabled') : t('disabled'))); + $ostat_enabled = t('Built-in support for %s connectivity is %s', t('GNU Social (OStatus)'), ((Config::get('system', 'ostatus_disabled')) ? t('disabled') : t('enabled'))); } else { $diasp_enabled = ""; $ostat_enabled = ""; @@ -884,7 +847,7 @@ function settings_content(App $a) { $mail_chk = ((DBM::is_result($r)) ? $r[0]['last_check'] : NULL_DATE); - $tpl = get_markup_template("settings_connectors.tpl"); + $tpl = get_markup_template('settings/connectors.tpl'); $mail_disabled_message = (($mail_disabled) ? t('Email access is disabled on this site.') : ''); @@ -896,6 +859,17 @@ function settings_content(App $a) { '$diasp_enabled' => $diasp_enabled, '$ostat_enabled' => $ostat_enabled, + '$general_settings' => t('General Social Media Settings'), + '$no_intelligent_shortening' => array('no_intelligent_shortening', t('Disable intelligent shortening'), $no_intelligent_shortening, t('Normally the system tries to find the best link to add to shortened posts. If this option is enabled then every shortened post will always point to the original friendica post.')), + '$ostatus_autofriend' => array('snautofollow', t('Automatically follow any GNU Social (OStatus) followers/mentioners'), $ostatus_autofriend, t('If you receive a message from an unknown OStatus user, this option decides what to do. If it is checked, a new contact will be created for every unknown user.')), + '$default_group' => Group::displayGroupSelection(local_user(), $default_group, t("Default group for OStatus contacts")), + '$legacy_contact' => array('legacy_contact', t('Your legacy GNU Social account'), $legacy_contact, t('If you enter your old GNU Social/Statusnet account name here (in the format user@domain.tld), your contacts will be added automatically. The field will be emptied when done.')), + + '$repair_ostatus_url' => System::baseUrl() . '/repair_ostatus', + '$repair_ostatus_text' => t('Repair OStatus subscriptions'), + + '$settings_connectors' => $settings_connectors, + '$h_imap' => t('Email/Mailbox Setup'), '$imap_desc' => t("If you wish to communicate with email contacts using this service \x28optional\x29, please specify how to connect to your mailbox."), '$imap_lastcheck' => array('imap_lastcheck', t('Last successful email check:'), $mail_chk, ''), @@ -910,8 +884,6 @@ function settings_content(App $a) { '$mail_action' => array('mail_action', t('Action after import:'), $mail_action, '', array(0=>t('None'), /*1=>t('Delete'),*/ 2=>t('Mark as seen'), 3=>t('Move to folder'))), '$mail_movetofolder' => array('mail_movetofolder', t('Move to folder:'), $mail_movetofolder, ''), '$submit' => t('Save Settings'), - - '$settings_connectors' => $settings_connectors )); call_hooks('display_settings', $o); @@ -993,7 +965,7 @@ function settings_content(App $a) { $theme_config = theme_content($a); } - $tpl = get_markup_template("settings_display.tpl"); + $tpl = get_markup_template('settings/display.tpl'); $o = replace_macros($tpl, array( '$ptitle' => t('Display Settings'), '$form_security_token' => get_form_security_token("settings_display"), @@ -1023,7 +995,7 @@ function settings_content(App $a) { '$theme_config' => $theme_config, )); - $tpl = get_markup_template("settings_display_end.tpl"); + $tpl = get_markup_template('settings/display_end.tpl'); $a->page['end'] .= replace_macros($tpl, array( '$theme' => array('theme', t('Display Theme:'), $theme_selected, '', $themes) )); @@ -1082,7 +1054,7 @@ function settings_content(App $a) { ($a->user['account-type'] != ACCOUNT_TYPE_COMMUNITY)) $a->user['account-type'] = ACCOUNT_TYPE_COMMUNITY; - $pageset_tpl = get_markup_template('settings_pagetypes.tpl'); + $pageset_tpl = get_markup_template('settings/pagetypes.tpl'); $pagetype = replace_macros($pageset_tpl, array( '$account_types' => t("Account Types"), @@ -1158,52 +1130,42 @@ function settings_content(App $a) { $profile_in_net_dir = ''; } - $hide_friends = replace_macros($opt_tpl,array( - '$field' => array('hide-friends', t('Hide your contact/friend list from viewers of your default profile?'), $profile['hide-friends'], '', array(t('No'), t('Yes'))), + $hide_friends = replace_macros($opt_tpl, array( + '$field' => array('hide-friends', t('Hide your contact/friend list from viewers of your default profile?'), $profile['hide-friends'], '', array(t('No'), t('Yes'))), )); - $hide_wall = replace_macros($opt_tpl,array( - '$field' => array('hidewall', t('Hide your profile details from unknown viewers?'), $a->user['hidewall'], t("If enabled, posting public messages to Diaspora and other networks isn't possible."), array(t('No'), t('Yes'))), - + $hide_wall = replace_macros($opt_tpl, array( + '$field' => array('hidewall', t('Hide your profile details from unknown viewers?'), $a->user['hidewall'], t("If enabled, posting public messages to Diaspora and other networks isn't possible."), array(t('No'), t('Yes'))), )); - $blockwall = replace_macros($opt_tpl,array( - '$field' => array('blockwall', t('Allow friends to post to your profile page?'), (intval($a->user['blockwall']) ? '0' : '1'), '', array(t('No'), t('Yes'))), - + $blockwall = replace_macros($opt_tpl, array( + '$field' => array('blockwall', t('Allow friends to post to your profile page?'), (intval($a->user['blockwall']) ? '0' : '1'), '', array(t('No'), t('Yes'))), )); - $blocktags = replace_macros($opt_tpl,array( - '$field' => array('blocktags', t('Allow friends to tag your posts?'), (intval($a->user['blocktags']) ? '0' : '1'), '', array(t('No'), t('Yes'))), - + $blocktags = replace_macros($opt_tpl, array( + '$field' => array('blocktags', t('Allow friends to tag your posts?'), (intval($a->user['blocktags']) ? '0' : '1'), '', array(t('No'), t('Yes'))), )); - $suggestme = replace_macros($opt_tpl,array( - '$field' => array('suggestme', t('Allow us to suggest you as a potential friend to new members?'), $suggestme, '', array(t('No'), t('Yes'))), - + $suggestme = replace_macros($opt_tpl, array( + '$field' => array('suggestme', t('Allow us to suggest you as a potential friend to new members?'), $suggestme, '', array(t('No'), t('Yes'))), )); - $unkmail = replace_macros($opt_tpl,array( - '$field' => array('unkmail', t('Permit unknown people to send you private mail?'), $unkmail, '', array(t('No'), t('Yes'))), - + $unkmail = replace_macros($opt_tpl, array( + '$field' => array('unkmail', t('Permit unknown people to send you private mail?'), $unkmail, '', array(t('No'), t('Yes'))), )); - $invisible = (((!$profile['publish']) && (!$profile['net-publish'])) - ? true : false); - - if ($invisible) { + if (!$profile['publish'] && !$profile['net-publish']) { info(t('Profile is not published.') . EOL); } - //$subdir = ((strlen($a->get_path())) ? '
' . t('or') . ' ' . 'profile/' . $nickname : ''); - - $tpl_addr = get_markup_template("settings_nick_set.tpl"); + $tpl_addr = get_markup_template('settings/nick_set.tpl'); $prof_addr = replace_macros($tpl_addr,array( - '$desc' => sprintf(t("Your Identity Address is '%s' or '%s'."), $nickname.'@'.$a->get_hostname().$a->get_path(), System::baseUrl().'/profile/'.$nickname), + '$desc' => t("Your Identity Address is '%s' or '%s'.", $nickname . '@' . $a->get_hostname() . $a->get_path(), System::baseUrl() . '/profile/' . $nickname), '$basepath' => $a->get_hostname() )); - $stpl = get_markup_template('settings.tpl'); + $stpl = get_markup_template('settings/settings.tpl'); $expire_arr = array( 'days' => array('expire', t("Automatically expire posts after this many days:"), $expire, t('If empty, posts will not expire. Expired posts will be deleted')), diff --git a/view/templates/settings-end.tpl b/view/templates/settings-end.tpl deleted file mode 100644 index 8b13789179..0000000000 --- a/view/templates/settings-end.tpl +++ /dev/null @@ -1 +0,0 @@ - diff --git a/view/templates/settings-head.tpl b/view/templates/settings-head.tpl deleted file mode 100644 index a5558ddce7..0000000000 --- a/view/templates/settings-head.tpl +++ /dev/null @@ -1,32 +0,0 @@ - - - - diff --git a/view/templates/settings.tpl b/view/templates/settings.tpl deleted file mode 100644 index 099014f135..0000000000 --- a/view/templates/settings.tpl +++ /dev/null @@ -1,223 +0,0 @@ -

{{$ptitle}}

- -{{$nickname_block}} - -
- - -

{{$h_pass}}

-
-{{include file="field_password.tpl" field=$password1}} -{{include file="field_password.tpl" field=$password2}} -{{include file="field_password.tpl" field=$password3}} - -{{if $oid_enable}} -{{include file="field_input.tpl" field=$openid}} -{{/if}} - -
- -
-
- -

{{$h_basic}}

-
- -{{include file="field_input.tpl" field=$username}} -{{include file="field_input.tpl" field=$email}} -{{include file="field_password.tpl" field=$password4}} -{{include file="field_custom.tpl" field=$timezone}} -{{include file="field_select.tpl" field=$language}} -{{include file="field_input.tpl" field=$defloc}} -{{include file="field_checkbox.tpl" field=$allowloc}} - - -
- -
-
- - -

{{$h_prv}}

-
- - - -{{include file="field_input.tpl" field=$maxreq}} - -{{$profile_in_dir}} - -{{$profile_in_net_dir}} - -{{$hide_friends}} - -{{$hide_wall}} - -{{$blockwall}} - -{{$blocktags}} - -{{$suggestme}} - -{{$unkmail}} - - -{{include file="field_input.tpl" field=$cntunkmail}} - -{{include file="field_input.tpl" field=$expire.days}} - - -
- {{$expire.label}} -
-
-

{{$expire.advanced}}

- {{include file="field_yesno.tpl" field=$expire.items}} - {{include file="field_yesno.tpl" field=$expire.notes}} - {{include file="field_yesno.tpl" field=$expire.starred}} - {{include file="field_yesno.tpl" field=$expire.network_only}} -
-
- -
- - -
- {{$permissions}} {{$permdesc}} -
- - -
-
-
- -{{$group_select}} - - -
- -
-
- - - - -

{{$h_not}}

-
-
- -
{{$activity_options}}
- -{{include file="field_checkbox.tpl" field=$post_newfriend}} -{{include file="field_checkbox.tpl" field=$post_joingroup}} -{{include file="field_checkbox.tpl" field=$post_profilechange}} - - -
{{$lbl_not}}
- -
-{{include file="field_intcheckbox.tpl" field=$notify1}} -{{include file="field_intcheckbox.tpl" field=$notify2}} -{{include file="field_intcheckbox.tpl" field=$notify3}} -{{include file="field_intcheckbox.tpl" field=$notify4}} -{{include file="field_intcheckbox.tpl" field=$notify5}} -{{include file="field_intcheckbox.tpl" field=$notify6}} -{{include file="field_intcheckbox.tpl" field=$notify7}} -{{include file="field_intcheckbox.tpl" field=$notify8}} -
- -{{include file="field_checkbox.tpl" field=$email_textonly}} -{{include file="field_checkbox.tpl" field=$detailed_notif}} - - - -{{include file="field_yesno.tpl" field=$desktop_notifications}} - - -
- -
- -
-
- - -

{{$h_advn}}

-
-
{{$h_descadvn}}
- -{{$pagetype}} - -
- -
-
- -

{{$relocate}}

-
-
{{$relocate_text}}
- -
- -
-
- - - diff --git a/view/templates/settings/addons.tpl b/view/templates/settings/addons.tpl new file mode 100644 index 0000000000..32ec5a0484 --- /dev/null +++ b/view/templates/settings/addons.tpl @@ -0,0 +1,11 @@ + +

{{$title}}

+ + + + + +{{$settings_addons}} + +
+ diff --git a/view/templates/settings/connectors.tpl b/view/templates/settings/connectors.tpl new file mode 100644 index 0000000000..58306fb279 --- /dev/null +++ b/view/templates/settings/connectors.tpl @@ -0,0 +1,60 @@ + +

{{$title}}

+ +
{{$diasp_enabled}}
+
{{$ostat_enabled}}
+ +
+ + + +

{{$general_settings}}

+
+ +
+ +{{$settings_connectors}} + +{{if $mail_disabled}} + +{{else}} + +

{{$h_imap}}

+
+ +{{/if}} + +
+ diff --git a/view/templates/settings/display.tpl b/view/templates/settings/display.tpl new file mode 100644 index 0000000000..ff3e4fba6e --- /dev/null +++ b/view/templates/settings/display.tpl @@ -0,0 +1,37 @@ + +

{{$ptitle}}

+ +
+ + +{{include file="field_themeselect.tpl" field=$theme}} +{{include file="field_input.tpl" field=$itemspage_network}} + +{{* Show the mobile theme selection only if mobile themes are available *}} +{{if count($mobile_theme.4) > 1}} +{{include file="field_themeselect.tpl" field=$mobile_theme}} +{{/if}} + +{{include file="field_input.tpl" field=$itemspage_mobile_network}} +{{include file="field_input.tpl" field=$ajaxint}} +{{include file="field_checkbox.tpl" field=$nowarn_insecure}} +{{include file="field_checkbox.tpl" field=$no_auto_update}} +{{include file="field_checkbox.tpl" field=$nosmile}} +{{include file="field_checkbox.tpl" field=$noinfo}} +{{include file="field_checkbox.tpl" field=$infinite_scroll}} +{{include file="field_checkbox.tpl" field=$bandwidth_saver}} +{{include file="field_checkbox.tpl" field=$smart_threading}} +

{{$calendar_title}}

+{{include file="field_select.tpl" field=$first_day_of_week}} + + +
+ +
+ +{{if $theme_config}} +

{{$stitle}}

+{{$theme_config}} +{{/if}} + +
diff --git a/view/templates/settings/display_end.tpl b/view/templates/settings/display_end.tpl new file mode 100644 index 0000000000..e69de29bb2 diff --git a/view/templates/settings/features.tpl b/view/templates/settings/features.tpl new file mode 100644 index 0000000000..eb3f67f813 --- /dev/null +++ b/view/templates/settings/features.tpl @@ -0,0 +1,22 @@ + +

{{$title}}

+ + +
+ + +{{foreach $features as $f}} +

{{$f.0}}

+
+ +{{foreach $f.1 as $fcat}} + {{include file="field_yesno.tpl" field=$fcat}} +{{/foreach}} +
+ +
+
+{{/foreach}} + +
+ diff --git a/view/templates/settings/head.tpl b/view/templates/settings/head.tpl new file mode 100644 index 0000000000..a5558ddce7 --- /dev/null +++ b/view/templates/settings/head.tpl @@ -0,0 +1,32 @@ + + + + diff --git a/view/templates/settings/nick_set.tpl b/view/templates/settings/nick_set.tpl new file mode 100644 index 0000000000..8decc2dd4f --- /dev/null +++ b/view/templates/settings/nick_set.tpl @@ -0,0 +1,6 @@ + + +
+
{{$desc}}
+
+
diff --git a/view/templates/settings/oauth.tpl b/view/templates/settings/oauth.tpl new file mode 100644 index 0000000000..164930ecba --- /dev/null +++ b/view/templates/settings/oauth.tpl @@ -0,0 +1,32 @@ + +

{{$title}}

+ + +
+ + + + + {{foreach $apps as $app}} +
+ + {{if $app.name}}

{{$app.name}}

{{else}}

{{$noname}}

{{/if}} + {{if $app.my}} + {{if $app.oauth_token}} +
+ {{/if}} + {{/if}} + {{if $app.my}} +   +   + {{/if}} +
+ {{/foreach}} + +
diff --git a/view/templates/settings/oauth_edit.tpl b/view/templates/settings/oauth_edit.tpl new file mode 100644 index 0000000000..9019981542 --- /dev/null +++ b/view/templates/settings/oauth_edit.tpl @@ -0,0 +1,18 @@ + +

{{$title}}

+ +
+ + +{{include file="field_input.tpl" field=$name}} +{{include file="field_input.tpl" field=$key}} +{{include file="field_input.tpl" field=$secret}} +{{include file="field_input.tpl" field=$redirect}} +{{include file="field_input.tpl" field=$icon}} + +
+ + +
+ +
diff --git a/view/templates/settings/pagetypes.tpl b/view/templates/settings/pagetypes.tpl new file mode 100644 index 0000000000..1c2f96e81f --- /dev/null +++ b/view/templates/settings/pagetypes.tpl @@ -0,0 +1,71 @@ + +

{{$account_types}}

+{{include file="field_radio.tpl" field=$account_person}} +
+
{{$user}}
+ {{include file="field_radio.tpl" field=$page_normal}} + {{include file="field_radio.tpl" field=$page_soapbox}} + {{include file="field_radio.tpl" field=$page_freelove}} +
+ +{{include file="field_radio.tpl" field=$account_organisation}} +{{include file="field_radio.tpl" field=$account_news}} + +{{include file="field_radio.tpl" field=$account_community}} +
+
{{$community}}
+ {{include file="field_radio.tpl" field=$page_community}} + {{include file="field_radio.tpl" field=$page_prvgroup}} +
+ + diff --git a/view/templates/settings/settings.tpl b/view/templates/settings/settings.tpl new file mode 100644 index 0000000000..099014f135 --- /dev/null +++ b/view/templates/settings/settings.tpl @@ -0,0 +1,223 @@ +

{{$ptitle}}

+ +{{$nickname_block}} + +
+ + +

{{$h_pass}}

+
+{{include file="field_password.tpl" field=$password1}} +{{include file="field_password.tpl" field=$password2}} +{{include file="field_password.tpl" field=$password3}} + +{{if $oid_enable}} +{{include file="field_input.tpl" field=$openid}} +{{/if}} + +
+ +
+
+ +

{{$h_basic}}

+
+ +{{include file="field_input.tpl" field=$username}} +{{include file="field_input.tpl" field=$email}} +{{include file="field_password.tpl" field=$password4}} +{{include file="field_custom.tpl" field=$timezone}} +{{include file="field_select.tpl" field=$language}} +{{include file="field_input.tpl" field=$defloc}} +{{include file="field_checkbox.tpl" field=$allowloc}} + + +
+ +
+
+ + +

{{$h_prv}}

+
+ + + +{{include file="field_input.tpl" field=$maxreq}} + +{{$profile_in_dir}} + +{{$profile_in_net_dir}} + +{{$hide_friends}} + +{{$hide_wall}} + +{{$blockwall}} + +{{$blocktags}} + +{{$suggestme}} + +{{$unkmail}} + + +{{include file="field_input.tpl" field=$cntunkmail}} + +{{include file="field_input.tpl" field=$expire.days}} + + +
+ {{$expire.label}} +
+
+

{{$expire.advanced}}

+ {{include file="field_yesno.tpl" field=$expire.items}} + {{include file="field_yesno.tpl" field=$expire.notes}} + {{include file="field_yesno.tpl" field=$expire.starred}} + {{include file="field_yesno.tpl" field=$expire.network_only}} +
+
+ +
+ + +
+ {{$permissions}} {{$permdesc}} +
+ + +
+
+
+ +{{$group_select}} + + +
+ +
+
+ + + + +

{{$h_not}}

+
+
+ +
{{$activity_options}}
+ +{{include file="field_checkbox.tpl" field=$post_newfriend}} +{{include file="field_checkbox.tpl" field=$post_joingroup}} +{{include file="field_checkbox.tpl" field=$post_profilechange}} + + +
{{$lbl_not}}
+ +
+{{include file="field_intcheckbox.tpl" field=$notify1}} +{{include file="field_intcheckbox.tpl" field=$notify2}} +{{include file="field_intcheckbox.tpl" field=$notify3}} +{{include file="field_intcheckbox.tpl" field=$notify4}} +{{include file="field_intcheckbox.tpl" field=$notify5}} +{{include file="field_intcheckbox.tpl" field=$notify6}} +{{include file="field_intcheckbox.tpl" field=$notify7}} +{{include file="field_intcheckbox.tpl" field=$notify8}} +
+ +{{include file="field_checkbox.tpl" field=$email_textonly}} +{{include file="field_checkbox.tpl" field=$detailed_notif}} + + + +{{include file="field_yesno.tpl" field=$desktop_notifications}} + + +
+ +
+ +
+
+ + +

{{$h_advn}}

+
+
{{$h_descadvn}}
+ +{{$pagetype}} + +
+ +
+
+ +

{{$relocate}}

+
+
{{$relocate_text}}
+ +
+ +
+
+ + + diff --git a/view/templates/settings_addons.tpl b/view/templates/settings_addons.tpl deleted file mode 100644 index 32ec5a0484..0000000000 --- a/view/templates/settings_addons.tpl +++ /dev/null @@ -1,11 +0,0 @@ - -

{{$title}}

- - - - - -{{$settings_addons}} - -
- diff --git a/view/templates/settings_connectors.tpl b/view/templates/settings_connectors.tpl deleted file mode 100644 index bdb928f5b5..0000000000 --- a/view/templates/settings_connectors.tpl +++ /dev/null @@ -1,41 +0,0 @@ - -

{{$title}}

- -
{{$diasp_enabled}}
-
{{$ostat_enabled}}
- -
- - -{{$settings_connectors}} - -{{if $mail_disabled}} - -{{else}} - -

{{$h_imap}}

-
- -{{/if}} - -
- diff --git a/view/templates/settings_display.tpl b/view/templates/settings_display.tpl deleted file mode 100644 index ff3e4fba6e..0000000000 --- a/view/templates/settings_display.tpl +++ /dev/null @@ -1,37 +0,0 @@ - -

{{$ptitle}}

- -
- - -{{include file="field_themeselect.tpl" field=$theme}} -{{include file="field_input.tpl" field=$itemspage_network}} - -{{* Show the mobile theme selection only if mobile themes are available *}} -{{if count($mobile_theme.4) > 1}} -{{include file="field_themeselect.tpl" field=$mobile_theme}} -{{/if}} - -{{include file="field_input.tpl" field=$itemspage_mobile_network}} -{{include file="field_input.tpl" field=$ajaxint}} -{{include file="field_checkbox.tpl" field=$nowarn_insecure}} -{{include file="field_checkbox.tpl" field=$no_auto_update}} -{{include file="field_checkbox.tpl" field=$nosmile}} -{{include file="field_checkbox.tpl" field=$noinfo}} -{{include file="field_checkbox.tpl" field=$infinite_scroll}} -{{include file="field_checkbox.tpl" field=$bandwidth_saver}} -{{include file="field_checkbox.tpl" field=$smart_threading}} -

{{$calendar_title}}

-{{include file="field_select.tpl" field=$first_day_of_week}} - - -
- -
- -{{if $theme_config}} -

{{$stitle}}

-{{$theme_config}} -{{/if}} - -
diff --git a/view/templates/settings_display_end.tpl b/view/templates/settings_display_end.tpl deleted file mode 100644 index 8b13789179..0000000000 --- a/view/templates/settings_display_end.tpl +++ /dev/null @@ -1 +0,0 @@ - diff --git a/view/templates/settings_features.tpl b/view/templates/settings_features.tpl deleted file mode 100644 index eb3f67f813..0000000000 --- a/view/templates/settings_features.tpl +++ /dev/null @@ -1,22 +0,0 @@ - -

{{$title}}

- - -
- - -{{foreach $features as $f}} -

{{$f.0}}

-
- -{{foreach $f.1 as $fcat}} - {{include file="field_yesno.tpl" field=$fcat}} -{{/foreach}} -
- -
-
-{{/foreach}} - -
- diff --git a/view/templates/settings_nick_set.tpl b/view/templates/settings_nick_set.tpl deleted file mode 100644 index 8decc2dd4f..0000000000 --- a/view/templates/settings_nick_set.tpl +++ /dev/null @@ -1,6 +0,0 @@ - - -
-
{{$desc}}
-
-
diff --git a/view/templates/settings_nick_subdir.tpl b/view/templates/settings_nick_subdir.tpl deleted file mode 100644 index 49fad536c4..0000000000 --- a/view/templates/settings_nick_subdir.tpl +++ /dev/null @@ -1,7 +0,0 @@ - -

-It appears that your website is located in a subdirectory of the
-{{$hostname}} website, so this setting may not work reliably.
-

-

If you have any issues, you may have better results using the profile
address '{{$baseurl}}/profile/{{$nickname}}'. -

\ No newline at end of file diff --git a/view/templates/settings_oauth.tpl b/view/templates/settings_oauth.tpl deleted file mode 100644 index 164930ecba..0000000000 --- a/view/templates/settings_oauth.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -

{{$title}}

- - -
- - - - - {{foreach $apps as $app}} -
- - {{if $app.name}}

{{$app.name}}

{{else}}

{{$noname}}

{{/if}} - {{if $app.my}} - {{if $app.oauth_token}} -
- {{/if}} - {{/if}} - {{if $app.my}} -   -   - {{/if}} -
- {{/foreach}} - -
diff --git a/view/templates/settings_oauth_edit.tpl b/view/templates/settings_oauth_edit.tpl deleted file mode 100644 index 9019981542..0000000000 --- a/view/templates/settings_oauth_edit.tpl +++ /dev/null @@ -1,18 +0,0 @@ - -

{{$title}}

- -
- - -{{include file="field_input.tpl" field=$name}} -{{include file="field_input.tpl" field=$key}} -{{include file="field_input.tpl" field=$secret}} -{{include file="field_input.tpl" field=$redirect}} -{{include file="field_input.tpl" field=$icon}} - -
- - -
- -
diff --git a/view/templates/settings_pagetypes.tpl b/view/templates/settings_pagetypes.tpl deleted file mode 100644 index 1c2f96e81f..0000000000 --- a/view/templates/settings_pagetypes.tpl +++ /dev/null @@ -1,71 +0,0 @@ - -

{{$account_types}}

-{{include file="field_radio.tpl" field=$account_person}} -
-
{{$user}}
- {{include file="field_radio.tpl" field=$page_normal}} - {{include file="field_radio.tpl" field=$page_soapbox}} - {{include file="field_radio.tpl" field=$page_freelove}} -
- -{{include file="field_radio.tpl" field=$account_organisation}} -{{include file="field_radio.tpl" field=$account_news}} - -{{include file="field_radio.tpl" field=$account_community}} -
-
{{$community}}
- {{include file="field_radio.tpl" field=$page_community}} - {{include file="field_radio.tpl" field=$page_prvgroup}} -
- - diff --git a/view/theme/frio/templates/settings.tpl b/view/theme/frio/templates/settings.tpl deleted file mode 100644 index f197eb5e5a..0000000000 --- a/view/theme/frio/templates/settings.tpl +++ /dev/null @@ -1,308 +0,0 @@ -
- {{* include the title template for the settings title *}} - {{include file="section_title.tpl" title=$ptitle }} - - {{$nickname_block}} - -
- - - {{* We organize the settings in collapsable panel-groups *}} -
- {{* The password setting section *}} -
- -
-
- {{include file="field_password.tpl" field=$password1}} - {{include file="field_password.tpl" field=$password2}} - {{include file="field_password.tpl" field=$password3}} - - {{if $oid_enable}} - {{include file="field_input.tpl" field=$openid}} - {{/if}} - -
- -
-
-
-
-
- - {{* The basic setting section *}} -
- -
-
- - {{include file="field_input.tpl" field=$username}} - {{include file="field_input.tpl" field=$email}} - {{include file="field_password.tpl" field=$password4}} - {{include file="field_custom.tpl" field=$timezone}} - {{include file="field_select.tpl" field=$language}} - {{include file="field_input.tpl" field=$defloc}} - {{include file="field_checkbox.tpl" field=$allowloc}} - -
- -
-
-
-
-
- - {{* The privacity setting section *}} -
- -
-
- - - - {{include file="field_input.tpl" field=$maxreq}} - - {{$profile_in_dir}} - - {{$profile_in_net_dir}} - - {{$hide_friends}} - - {{$hide_wall}} - - {{$blockwall}} - - {{$blocktags}} - - {{$suggestme}} - - {{$unkmail}} - - - {{include file="field_input.tpl" field=$cntunkmail}} - - {{include file="field_input.tpl" field=$expire.days}} - - -
- {{$expire.label}} - - {{* The modal for advanced-expire *}} - -
- - {{* Block for setting default permissions *}} -
- {{$permissions}} {{$permdesc}} -
- - {{* We include the aclModal directly into the template since we cant use frio's default modal *}} - -
-
-
- - {{$group_select}} - - -
- -
-
-
-
-
- - {{* The notification setting section *}} -
- -
-
-
- -

{{$activity_options}}

- -
- {{include file="field_checkbox.tpl" field=$post_newfriend}} - {{include file="field_checkbox.tpl" field=$post_joingroup}} - {{include file="field_checkbox.tpl" field=$post_profilechange}} -
- - -

{{$lbl_not}}

- -
- {{include file="field_intcheckbox.tpl" field=$notify1}} - {{include file="field_intcheckbox.tpl" field=$notify2}} - {{include file="field_intcheckbox.tpl" field=$notify3}} - {{include file="field_intcheckbox.tpl" field=$notify4}} - {{include file="field_intcheckbox.tpl" field=$notify5}} - {{include file="field_intcheckbox.tpl" field=$notify6}} - {{include file="field_intcheckbox.tpl" field=$notify7}} - {{include file="field_intcheckbox.tpl" field=$notify8}} -
- - {{include file="field_checkbox.tpl" field=$email_textonly}} - {{include file="field_checkbox.tpl" field=$detailed_notif}} - - {{* commented out because it was commented out in the original template -
- - {{$desktop_notifications_note}} -
- *}} - - {{include file="field_yesno.tpl" field=$desktop_notifications}} - -
- -
- -
-
-
-
-
- - {{* The additional account setting section *}} -
- -
-
- -
{{$h_descadvn}}
- - {{$pagetype}} - -
- -
-
-
-
-
- - {{* The relocate setting section *}} -
- -
-
- -
{{$relocate_text}}
- -
-
- -
-
-
-
-
-
-
-
diff --git a/view/theme/frio/templates/settings/connectors.tpl b/view/theme/frio/templates/settings/connectors.tpl new file mode 100644 index 0000000000..c388a6e25d --- /dev/null +++ b/view/theme/frio/templates/settings/connectors.tpl @@ -0,0 +1,70 @@ +
+ {{* include the title template for the settings title *}} + {{include file="section_title.tpl" title=$title}} + +

{{$diasp_enabled}}

+

{{$ostat_enabled}}

+ +
+ + +
+
+ +
+
+ + {{include file="field_checkbox.tpl" field=$no_intelligent_shortening}} + {{include file="field_checkbox.tpl" field=$ostatus_autofriend}} + {{$default_group}} + {{include file="field_input.tpl" field=$legacy_contact}} + +

{{$repair_ostatus_text}}

+ +
+ +
+
+
+
+
+
+ + {{$settings_connectors}} + +{{if $mail_disabled}} + +{{else}} + +

{{$h_imap}}

+
+ +{{/if}} + +
+
\ No newline at end of file diff --git a/view/theme/frio/templates/settings/display.tpl b/view/theme/frio/templates/settings/display.tpl new file mode 100644 index 0000000000..cc36762dc9 --- /dev/null +++ b/view/theme/frio/templates/settings/display.tpl @@ -0,0 +1,110 @@ + +
+ {{* include the title template for the settings title *}} + {{include file="section_title.tpl" title=$ptitle }} + + +
+ + +
+
+ + +
+
+ + {{include file="field_themeselect.tpl" field=$theme}} + + {{* Show the mobile theme selection only if mobile themes are available *}} + {{if count($mobile_theme.4) > 1}} + {{include file="field_themeselect.tpl" field=$mobile_theme}} + {{/if}} + +
+ +
+
+ +
+
+
+ +
+ +
+
+ + {{if $theme_config}} + {{$theme_config}} + {{/if}} + +
+
+
+ +
+ +
+
+ + {{include file="field_input.tpl" field=$itemspage_network}} + {{include file="field_input.tpl" field=$itemspage_mobile_network}} + {{include file="field_input.tpl" field=$ajaxint}} + {{include file="field_checkbox.tpl" field=$nowarn_insecure}} + {{include file="field_checkbox.tpl" field=$no_auto_update}} + {{include file="field_checkbox.tpl" field=$nosmile}} + {{include file="field_checkbox.tpl" field=$noinfo}} + {{include file="field_checkbox.tpl" field=$infinite_scroll}} + {{include file="field_checkbox.tpl" field=$bandwidth_saver}} + {{include file="field_checkbox.tpl" field=$smart_threading}} + +
+ +
+
+
+
+
+ +
+ +
+
+ + {{include file="field_select.tpl" field=$first_day_of_week}} + +
+ +
+
+
+
+
+
+
+
diff --git a/view/theme/frio/templates/settings/features.tpl b/view/theme/frio/templates/settings/features.tpl new file mode 100644 index 0000000000..c811b8cf3e --- /dev/null +++ b/view/theme/frio/templates/settings/features.tpl @@ -0,0 +1,36 @@ +
+ {{* include the title template for the settings title *}} + {{include file="section_title.tpl" title=$title }} + + +
+ + {{* We organize the settings in collapsable panel-groups *}} +
+ {{foreach $features as $g => $f}} +
+ +
+
+ {{foreach $f.1 as $fcat}} + {{include file="field_yesno.tpl" field=$fcat}} + {{/foreach}} + +
+ +
+
+
+
+
+ {{/foreach}} +
+ +
+
diff --git a/view/theme/frio/templates/settings/oauth.tpl b/view/theme/frio/templates/settings/oauth.tpl new file mode 100644 index 0000000000..ffd40f2ab6 --- /dev/null +++ b/view/theme/frio/templates/settings/oauth.tpl @@ -0,0 +1,44 @@ +
+ {{* include the title template for the settings title *}} + {{include file="section_title.tpl" title=$title }} + + +
+ + + + + {{foreach $apps as $app}} +
+ + {{if $app.name}}

{{$app.name}}

{{else}}

{{$noname}}

{{/if}} + {{if $app.my}} + {{if $app.oauth_token}} +
+ {{/if}} + {{/if}} + {{if $app.my}} +   + + {{/if}} +
+ {{/foreach}} + +
+
diff --git a/view/theme/frio/templates/settings/oauth_edit.tpl b/view/theme/frio/templates/settings/oauth_edit.tpl new file mode 100644 index 0000000000..91dfa04551 --- /dev/null +++ b/view/theme/frio/templates/settings/oauth_edit.tpl @@ -0,0 +1,18 @@ + +

{{$title}}

+ +
+ + + {{include file="field_input.tpl" field=$name}} + {{include file="field_input.tpl" field=$key}} + {{include file="field_input.tpl" field=$secret}} + {{include file="field_input.tpl" field=$redirect}} + {{include file="field_input.tpl" field=$icon}} + +
+ +
+
+ +
diff --git a/view/theme/frio/templates/settings/settings.tpl b/view/theme/frio/templates/settings/settings.tpl new file mode 100644 index 0000000000..f197eb5e5a --- /dev/null +++ b/view/theme/frio/templates/settings/settings.tpl @@ -0,0 +1,308 @@ +
+ {{* include the title template for the settings title *}} + {{include file="section_title.tpl" title=$ptitle }} + + {{$nickname_block}} + +
+ + + {{* We organize the settings in collapsable panel-groups *}} +
+ {{* The password setting section *}} +
+ +
+
+ {{include file="field_password.tpl" field=$password1}} + {{include file="field_password.tpl" field=$password2}} + {{include file="field_password.tpl" field=$password3}} + + {{if $oid_enable}} + {{include file="field_input.tpl" field=$openid}} + {{/if}} + +
+ +
+
+
+
+
+ + {{* The basic setting section *}} +
+ +
+
+ + {{include file="field_input.tpl" field=$username}} + {{include file="field_input.tpl" field=$email}} + {{include file="field_password.tpl" field=$password4}} + {{include file="field_custom.tpl" field=$timezone}} + {{include file="field_select.tpl" field=$language}} + {{include file="field_input.tpl" field=$defloc}} + {{include file="field_checkbox.tpl" field=$allowloc}} + +
+ +
+
+
+
+
+ + {{* The privacity setting section *}} +
+ +
+
+ + + + {{include file="field_input.tpl" field=$maxreq}} + + {{$profile_in_dir}} + + {{$profile_in_net_dir}} + + {{$hide_friends}} + + {{$hide_wall}} + + {{$blockwall}} + + {{$blocktags}} + + {{$suggestme}} + + {{$unkmail}} + + + {{include file="field_input.tpl" field=$cntunkmail}} + + {{include file="field_input.tpl" field=$expire.days}} + + +
+ {{$expire.label}} + + {{* The modal for advanced-expire *}} + +
+ + {{* Block for setting default permissions *}} +
+ {{$permissions}} {{$permdesc}} +
+ + {{* We include the aclModal directly into the template since we cant use frio's default modal *}} + +
+
+
+ + {{$group_select}} + + +
+ +
+
+
+
+
+ + {{* The notification setting section *}} +
+ +
+
+
+ +

{{$activity_options}}

+ +
+ {{include file="field_checkbox.tpl" field=$post_newfriend}} + {{include file="field_checkbox.tpl" field=$post_joingroup}} + {{include file="field_checkbox.tpl" field=$post_profilechange}} +
+ + +

{{$lbl_not}}

+ +
+ {{include file="field_intcheckbox.tpl" field=$notify1}} + {{include file="field_intcheckbox.tpl" field=$notify2}} + {{include file="field_intcheckbox.tpl" field=$notify3}} + {{include file="field_intcheckbox.tpl" field=$notify4}} + {{include file="field_intcheckbox.tpl" field=$notify5}} + {{include file="field_intcheckbox.tpl" field=$notify6}} + {{include file="field_intcheckbox.tpl" field=$notify7}} + {{include file="field_intcheckbox.tpl" field=$notify8}} +
+ + {{include file="field_checkbox.tpl" field=$email_textonly}} + {{include file="field_checkbox.tpl" field=$detailed_notif}} + + {{* commented out because it was commented out in the original template +
+ + {{$desktop_notifications_note}} +
+ *}} + + {{include file="field_yesno.tpl" field=$desktop_notifications}} + +
+ +
+ +
+
+
+
+
+ + {{* The additional account setting section *}} +
+ +
+
+ +
{{$h_descadvn}}
+ + {{$pagetype}} + +
+ +
+
+
+
+
+ + {{* The relocate setting section *}} +
+ +
+
+ +
{{$relocate_text}}
+ +
+
+ +
+
+
+
+
+
+
+
diff --git a/view/theme/frio/templates/settings_display.tpl b/view/theme/frio/templates/settings_display.tpl deleted file mode 100644 index cc36762dc9..0000000000 --- a/view/theme/frio/templates/settings_display.tpl +++ /dev/null @@ -1,110 +0,0 @@ - -
- {{* include the title template for the settings title *}} - {{include file="section_title.tpl" title=$ptitle }} - - -
- - -
-
- - -
-
- - {{include file="field_themeselect.tpl" field=$theme}} - - {{* Show the mobile theme selection only if mobile themes are available *}} - {{if count($mobile_theme.4) > 1}} - {{include file="field_themeselect.tpl" field=$mobile_theme}} - {{/if}} - -
- -
-
- -
-
-
- -
- -
-
- - {{if $theme_config}} - {{$theme_config}} - {{/if}} - -
-
-
- -
- -
-
- - {{include file="field_input.tpl" field=$itemspage_network}} - {{include file="field_input.tpl" field=$itemspage_mobile_network}} - {{include file="field_input.tpl" field=$ajaxint}} - {{include file="field_checkbox.tpl" field=$nowarn_insecure}} - {{include file="field_checkbox.tpl" field=$no_auto_update}} - {{include file="field_checkbox.tpl" field=$nosmile}} - {{include file="field_checkbox.tpl" field=$noinfo}} - {{include file="field_checkbox.tpl" field=$infinite_scroll}} - {{include file="field_checkbox.tpl" field=$bandwidth_saver}} - {{include file="field_checkbox.tpl" field=$smart_threading}} - -
- -
-
-
-
-
- -
- -
-
- - {{include file="field_select.tpl" field=$first_day_of_week}} - -
- -
-
-
-
-
-
-
-
diff --git a/view/theme/frio/templates/settings_features.tpl b/view/theme/frio/templates/settings_features.tpl deleted file mode 100644 index c811b8cf3e..0000000000 --- a/view/theme/frio/templates/settings_features.tpl +++ /dev/null @@ -1,36 +0,0 @@ -
- {{* include the title template for the settings title *}} - {{include file="section_title.tpl" title=$title }} - - -
- - {{* We organize the settings in collapsable panel-groups *}} -
- {{foreach $features as $g => $f}} -
- -
-
- {{foreach $f.1 as $fcat}} - {{include file="field_yesno.tpl" field=$fcat}} - {{/foreach}} - -
- -
-
-
-
-
- {{/foreach}} -
- -
-
diff --git a/view/theme/frio/templates/settings_oauth.tpl b/view/theme/frio/templates/settings_oauth.tpl deleted file mode 100644 index ffd40f2ab6..0000000000 --- a/view/theme/frio/templates/settings_oauth.tpl +++ /dev/null @@ -1,44 +0,0 @@ -
- {{* include the title template for the settings title *}} - {{include file="section_title.tpl" title=$title }} - - -
- - - - - {{foreach $apps as $app}} -
- - {{if $app.name}}

{{$app.name}}

{{else}}

{{$noname}}

{{/if}} - {{if $app.my}} - {{if $app.oauth_token}} -
- {{/if}} - {{/if}} - {{if $app.my}} -   - - {{/if}} -
- {{/foreach}} - -
-
diff --git a/view/theme/frio/templates/settings_oauth_edit.tpl b/view/theme/frio/templates/settings_oauth_edit.tpl deleted file mode 100644 index 91dfa04551..0000000000 --- a/view/theme/frio/templates/settings_oauth_edit.tpl +++ /dev/null @@ -1,18 +0,0 @@ - -

{{$title}}

- -
- - - {{include file="field_input.tpl" field=$name}} - {{include file="field_input.tpl" field=$key}} - {{include file="field_input.tpl" field=$secret}} - {{include file="field_input.tpl" field=$redirect}} - {{include file="field_input.tpl" field=$icon}} - -
- -
-
- -
diff --git a/view/theme/frost-mobile/templates/settings-head.tpl b/view/theme/frost-mobile/templates/settings-head.tpl deleted file mode 100644 index 5ba31db0c1..0000000000 --- a/view/theme/frost-mobile/templates/settings-head.tpl +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/view/theme/frost-mobile/templates/settings.tpl b/view/theme/frost-mobile/templates/settings.tpl deleted file mode 100644 index ccca7eaab7..0000000000 --- a/view/theme/frost-mobile/templates/settings.tpl +++ /dev/null @@ -1,152 +0,0 @@ - -

{{$ptitle}}

- -{{$nickname_block}} - -
- - -

{{$h_pass}}

- -{{include file="field_password.tpl" field=$password1}} -{{include file="field_password.tpl" field=$password2}} -{{include file="field_password.tpl" field=$password3}} - -{{if $oid_enable}} -{{include file="field_input.tpl" field=$openid}} -{{/if}} - -
- -
- - -

{{$h_basic}}

- -{{include file="field_input.tpl" field=$username}} -{{include file="field_input.tpl" field=$email}} -{{include file="field_password.tpl" field=$password4}} -{{include file="field_custom.tpl" field=$timezone}} -{{include file="field_select.tpl" field=$language}} -{{include file="field_input.tpl" field=$defloc}} -{{include file="field_checkbox.tpl" field=$allowloc}} - - -
- -
- - -

{{$h_prv}}

- - - - -{{include file="field_input.tpl" field=$maxreq}} - -{{$profile_in_dir}} - -{{$profile_in_net_dir}} - -{{$hide_friends}} - -{{$hide_wall}} - -{{$blockwall}} - -{{$blocktags}} - -{{$suggestme}} - -{{$unkmail}} - - -{{include file="field_input.tpl" field=$cntunkmail}} - -{{include file="field_input.tpl" field=$expire.days}} - - -
- {{$expire.label}} -
-
-

{{$expire.advanced}}

- {{include file="field_yesno.tpl" field=$expire.items}} - {{include file="field_yesno.tpl" field=$expire.notes}} - {{include file="field_yesno.tpl" field=$expire.starred}} - {{include file="field_yesno.tpl" field=$expire.network_only}} -
-
- -
- - -
- {{$permissions}} {{$permdesc}} -
- -{{**}} - -
-
- {{$aclselect}} -
-
- -{{**}} -
-
-
- -{{$group_select}} - - -
- -
- - - -

{{$h_not}}

-
- -
{{$activity_options}}
- -{{include file="field_checkbox.tpl" field=$post_newfriend}} -{{include file="field_checkbox.tpl" field=$post_joingroup}} -{{include file="field_checkbox.tpl" field=$post_profilechange}} - - -
{{$lbl_not}}
- -
-{{include file="field_intcheckbox.tpl" field=$notify1}} -{{include file="field_intcheckbox.tpl" field=$notify2}} -{{include file="field_intcheckbox.tpl" field=$notify3}} -{{include file="field_intcheckbox.tpl" field=$notify4}} -{{include file="field_intcheckbox.tpl" field=$notify5}} -{{include file="field_intcheckbox.tpl" field=$notify6}} -{{include file="field_intcheckbox.tpl" field=$notify7}} -{{include file="field_intcheckbox.tpl" field=$notify8}} -
- -{{include file="field_checkbox.tpl" field=$email_textonly}} -{{include file="field_checkbox.tpl" field=$detailed_notif}} - -
- -
- -
- - -

{{$h_advn}}

-
{{$h_descadvn}}
- -{{$pagetype}} - -
- -
- - diff --git a/view/theme/frost-mobile/templates/settings/display_end.tpl b/view/theme/frost-mobile/templates/settings/display_end.tpl new file mode 100644 index 0000000000..14af582162 --- /dev/null +++ b/view/theme/frost-mobile/templates/settings/display_end.tpl @@ -0,0 +1,2 @@ + + diff --git a/view/theme/frost-mobile/templates/settings/head.tpl b/view/theme/frost-mobile/templates/settings/head.tpl new file mode 100644 index 0000000000..5ba31db0c1 --- /dev/null +++ b/view/theme/frost-mobile/templates/settings/head.tpl @@ -0,0 +1,6 @@ + + + + diff --git a/view/theme/frost-mobile/templates/settings/settings.tpl b/view/theme/frost-mobile/templates/settings/settings.tpl new file mode 100644 index 0000000000..ccca7eaab7 --- /dev/null +++ b/view/theme/frost-mobile/templates/settings/settings.tpl @@ -0,0 +1,152 @@ + +

{{$ptitle}}

+ +{{$nickname_block}} + + + + +

{{$h_pass}}

+ +{{include file="field_password.tpl" field=$password1}} +{{include file="field_password.tpl" field=$password2}} +{{include file="field_password.tpl" field=$password3}} + +{{if $oid_enable}} +{{include file="field_input.tpl" field=$openid}} +{{/if}} + +
+ +
+ + +

{{$h_basic}}

+ +{{include file="field_input.tpl" field=$username}} +{{include file="field_input.tpl" field=$email}} +{{include file="field_password.tpl" field=$password4}} +{{include file="field_custom.tpl" field=$timezone}} +{{include file="field_select.tpl" field=$language}} +{{include file="field_input.tpl" field=$defloc}} +{{include file="field_checkbox.tpl" field=$allowloc}} + + +
+ +
+ + +

{{$h_prv}}

+ + + + +{{include file="field_input.tpl" field=$maxreq}} + +{{$profile_in_dir}} + +{{$profile_in_net_dir}} + +{{$hide_friends}} + +{{$hide_wall}} + +{{$blockwall}} + +{{$blocktags}} + +{{$suggestme}} + +{{$unkmail}} + + +{{include file="field_input.tpl" field=$cntunkmail}} + +{{include file="field_input.tpl" field=$expire.days}} + + +
+ {{$expire.label}} +
+
+

{{$expire.advanced}}

+ {{include file="field_yesno.tpl" field=$expire.items}} + {{include file="field_yesno.tpl" field=$expire.notes}} + {{include file="field_yesno.tpl" field=$expire.starred}} + {{include file="field_yesno.tpl" field=$expire.network_only}} +
+
+ +
+ + +
+ {{$permissions}} {{$permdesc}} +
+ +{{**}} + +
+
+ {{$aclselect}} +
+
+ +{{**}} +
+
+
+ +{{$group_select}} + + +
+ +
+ + + +

{{$h_not}}

+
+ +
{{$activity_options}}
+ +{{include file="field_checkbox.tpl" field=$post_newfriend}} +{{include file="field_checkbox.tpl" field=$post_joingroup}} +{{include file="field_checkbox.tpl" field=$post_profilechange}} + + +
{{$lbl_not}}
+ +
+{{include file="field_intcheckbox.tpl" field=$notify1}} +{{include file="field_intcheckbox.tpl" field=$notify2}} +{{include file="field_intcheckbox.tpl" field=$notify3}} +{{include file="field_intcheckbox.tpl" field=$notify4}} +{{include file="field_intcheckbox.tpl" field=$notify5}} +{{include file="field_intcheckbox.tpl" field=$notify6}} +{{include file="field_intcheckbox.tpl" field=$notify7}} +{{include file="field_intcheckbox.tpl" field=$notify8}} +
+ +{{include file="field_checkbox.tpl" field=$email_textonly}} +{{include file="field_checkbox.tpl" field=$detailed_notif}} + +
+ +
+ +
+ + +

{{$h_advn}}

+
{{$h_descadvn}}
+ +{{$pagetype}} + +
+ +
+ + diff --git a/view/theme/frost-mobile/templates/settings_display_end.tpl b/view/theme/frost-mobile/templates/settings_display_end.tpl deleted file mode 100644 index 14af582162..0000000000 --- a/view/theme/frost-mobile/templates/settings_display_end.tpl +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/view/theme/frost/templates/settings-head.tpl b/view/theme/frost/templates/settings-head.tpl deleted file mode 100644 index 5ba31db0c1..0000000000 --- a/view/theme/frost/templates/settings-head.tpl +++ /dev/null @@ -1,6 +0,0 @@ - - - - diff --git a/view/theme/frost/templates/settings/display_end.tpl b/view/theme/frost/templates/settings/display_end.tpl new file mode 100644 index 0000000000..14af582162 --- /dev/null +++ b/view/theme/frost/templates/settings/display_end.tpl @@ -0,0 +1,2 @@ + + diff --git a/view/theme/frost/templates/settings/head.tpl b/view/theme/frost/templates/settings/head.tpl new file mode 100644 index 0000000000..5ba31db0c1 --- /dev/null +++ b/view/theme/frost/templates/settings/head.tpl @@ -0,0 +1,6 @@ + + + + diff --git a/view/theme/frost/templates/settings_display_end.tpl b/view/theme/frost/templates/settings_display_end.tpl deleted file mode 100644 index 14af582162..0000000000 --- a/view/theme/frost/templates/settings_display_end.tpl +++ /dev/null @@ -1,2 +0,0 @@ - -