Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
bc1afbc762
@ -965,18 +965,20 @@ function settings_content(&$a) {
|
||||
|
||||
$timezone = date_default_timezone_get();
|
||||
|
||||
$yes_no = array(t('No'),t('Yes'));
|
||||
|
||||
$opt_tpl = get_markup_template("field_checkbox.tpl");
|
||||
if(get_config('system','publish_all')) {
|
||||
$profile_in_dir = '<input type="hidden" name="profile_in_directory" value="1" />';
|
||||
}
|
||||
else {
|
||||
$profile_in_dir = replace_macros($opt_tpl,array(
|
||||
'$field' => array('profile_in_directory', t('Publish your default profile in the network directory'), $profile['publish'], '', array(t('No'),t('Yes'))),
|
||||
'$field' => array('profile_in_directory', t('Publish your default profile in the network directory'), $profile['publish'], '', $yes_no),
|
||||
));
|
||||
}
|
||||
|
||||
$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'))),
|
||||
'$field' => array('suggestme', t('Allow us to suggest you as a potential friend to new members?'), $suggestme, '', $yes_no),
|
||||
|
||||
));
|
||||
|
||||
@ -1045,15 +1047,15 @@ function settings_content(&$a) {
|
||||
'$email' => array('email', t('Email Address:'), $email, ''),
|
||||
'$timezone' => array('timezone_select' , t('Your Timezone:'), $timezone, '', get_timezones()),
|
||||
'$defloc' => array('defloc', t('Default Post Location:'), $defloc, t('Geographical location to display on your posts')),
|
||||
'$allowloc' => array('allow_location', t('Use Browser Location:'), ((get_pconfig(local_channel(),'system','use_browser_location')) ? 1 : ''), ''),
|
||||
'$allowloc' => array('allow_location', t('Use Browser Location:'), ((get_pconfig(local_channel(),'system','use_browser_location')) ? 1 : ''), '', $yes_no),
|
||||
|
||||
'$adult' => array('adult', t('Adult Content'), $adult_flag, t('This channel frequently or regularly publishes adult content. (Please tag any adult material and/or nudity with #NSFW)')),
|
||||
'$adult' => array('adult', t('Adult Content'), $adult_flag, t('This channel frequently or regularly publishes adult content. (Please tag any adult material and/or nudity with #NSFW)'), $yes_no),
|
||||
|
||||
'$h_prv' => t('Security and Privacy Settings'),
|
||||
'$permissions_set' => $permissions_set,
|
||||
'$perms_set_msg' => t('Your permissions are already configured. Click to view/adjust'),
|
||||
|
||||
'$hide_presence' => array('hide_presence', t('Hide my online presence'),$hide_presence, t('Prevents displaying in your profile that you are online')),
|
||||
'$hide_presence' => array('hide_presence', t('Hide my online presence'),$hide_presence, t('Prevents displaying in your profile that you are online'), $yes_no),
|
||||
|
||||
'$lbl_pmacro' => t('Simple Privacy Settings:'),
|
||||
'$pmacro3' => t('Very Public - <em>extremely permissive (should be used with caution)</em>'),
|
||||
@ -1061,7 +1063,7 @@ function settings_content(&$a) {
|
||||
'$pmacro1' => t('Private - <em>default private, never open or public</em>'),
|
||||
'$pmacro0' => t('Blocked - <em>default blocked to/from everybody</em>'),
|
||||
'$permiss_arr' => $permiss,
|
||||
'$blocktags' => array('blocktags',t('Allow others to tag your posts'), 1-$blocktags, t('Often used by the community to retro-actively flag inappropriate content'),array(t('No'),t('Yes'))),
|
||||
'$blocktags' => array('blocktags',t('Allow others to tag your posts'), 1-$blocktags, t('Often used by the community to retro-actively flag inappropriate content'), $yes_no),
|
||||
|
||||
'$lbl_p2macro' => t('Advanced Privacy Settings'),
|
||||
|
||||
@ -1083,34 +1085,34 @@ function settings_content(&$a) {
|
||||
|
||||
'$h_not' => t('Notification Settings'),
|
||||
'$activity_options' => t('By default post a status message when:'),
|
||||
'$post_newfriend' => array('post_newfriend', t('accepting a friend request'), $post_newfriend, ''),
|
||||
'$post_joingroup' => array('post_joingroup', t('joining a forum/community'), $post_joingroup, ''),
|
||||
'$post_profilechange' => array('post_profilechange', t('making an <em>interesting</em> profile change'), $post_profilechange, ''),
|
||||
'$post_newfriend' => array('post_newfriend', t('accepting a friend request'), $post_newfriend, '', $yes_no),
|
||||
'$post_joingroup' => array('post_joingroup', t('joining a forum/community'), $post_joingroup, '', $yes_no),
|
||||
'$post_profilechange' => array('post_profilechange', t('making an <em>interesting</em> profile change'), $post_profilechange, '', $yes_no),
|
||||
'$lbl_not' => t('Send a notification email when:'),
|
||||
'$notify1' => array('notify1', t('You receive a connection request'), ($notify & NOTIFY_INTRO), NOTIFY_INTRO, ''),
|
||||
'$notify2' => array('notify2', t('Your connections are confirmed'), ($notify & NOTIFY_CONFIRM), NOTIFY_CONFIRM, ''),
|
||||
'$notify3' => array('notify3', t('Someone writes on your profile wall'), ($notify & NOTIFY_WALL), NOTIFY_WALL, ''),
|
||||
'$notify4' => array('notify4', t('Someone writes a followup comment'), ($notify & NOTIFY_COMMENT), NOTIFY_COMMENT, ''),
|
||||
'$notify5' => array('notify5', t('You receive a private message'), ($notify & NOTIFY_MAIL), NOTIFY_MAIL, ''),
|
||||
'$notify6' => array('notify6', t('You receive a friend suggestion'), ($notify & NOTIFY_SUGGEST), NOTIFY_SUGGEST, ''),
|
||||
'$notify7' => array('notify7', t('You are tagged in a post'), ($notify & NOTIFY_TAGSELF), NOTIFY_TAGSELF, ''),
|
||||
'$notify8' => array('notify8', t('You are poked/prodded/etc. in a post'), ($notify & NOTIFY_POKE), NOTIFY_POKE, ''),
|
||||
'$notify1' => array('notify1', t('You receive a connection request'), ($notify & NOTIFY_INTRO), NOTIFY_INTRO, '', $yes_no),
|
||||
'$notify2' => array('notify2', t('Your connections are confirmed'), ($notify & NOTIFY_CONFIRM), NOTIFY_CONFIRM, '', $yes_no),
|
||||
'$notify3' => array('notify3', t('Someone writes on your profile wall'), ($notify & NOTIFY_WALL), NOTIFY_WALL, '', $yes_no),
|
||||
'$notify4' => array('notify4', t('Someone writes a followup comment'), ($notify & NOTIFY_COMMENT), NOTIFY_COMMENT, '', $yes_no),
|
||||
'$notify5' => array('notify5', t('You receive a private message'), ($notify & NOTIFY_MAIL), NOTIFY_MAIL, '', $yes_no),
|
||||
'$notify6' => array('notify6', t('You receive a friend suggestion'), ($notify & NOTIFY_SUGGEST), NOTIFY_SUGGEST, '', $yes_no),
|
||||
'$notify7' => array('notify7', t('You are tagged in a post'), ($notify & NOTIFY_TAGSELF), NOTIFY_TAGSELF, '', $yes_no),
|
||||
'$notify8' => array('notify8', t('You are poked/prodded/etc. in a post'), ($notify & NOTIFY_POKE), NOTIFY_POKE, '', $yes_no),
|
||||
|
||||
|
||||
'$lbl_vnot' => t('Show visual notifications including:'),
|
||||
|
||||
'$vnotify1' => array('vnotify1', t('Unseen matrix activity'), ($vnotify & VNOTIFY_NETWORK), VNOTIFY_NETWORK, ''),
|
||||
'$vnotify2' => array('vnotify2', t('Unseen channel activity'), ($vnotify & VNOTIFY_CHANNEL), VNOTIFY_CHANNEL, ''),
|
||||
'$vnotify3' => array('vnotify3', t('Unseen private messages'), ($vnotify & VNOTIFY_MAIL), VNOTIFY_MAIL, t('Recommended')),
|
||||
'$vnotify4' => array('vnotify4', t('Upcoming events'), ($vnotify & VNOTIFY_EVENT), VNOTIFY_EVENT, ''),
|
||||
'$vnotify5' => array('vnotify5', t('Events today'), ($vnotify & VNOTIFY_EVENTTODAY), VNOTIFY_EVENTTODAY, ''),
|
||||
'$vnotify6' => array('vnotify6', t('Upcoming birthdays'), ($vnotify & VNOTIFY_BIRTHDAY), VNOTIFY_BIRTHDAY, t('Not available in all themes')),
|
||||
'$vnotify7' => array('vnotify7', t('System (personal) notifications'), ($vnotify & VNOTIFY_SYSTEM), VNOTIFY_SYSTEM, ''),
|
||||
'$vnotify8' => array('vnotify8', t('System info messages'), ($vnotify & VNOTIFY_INFO), VNOTIFY_INFO, t('Recommended')),
|
||||
'$vnotify9' => array('vnotify9', t('System critical alerts'), ($vnotify & VNOTIFY_ALERT), VNOTIFY_ALERT, t('Recommended')),
|
||||
'$vnotify10' => array('vnotify10', t('New connections'), ($vnotify & VNOTIFY_INTRO), VNOTIFY_INTRO, t('Recommended')),
|
||||
'$vnotify11' => array('vnotify11', t('System Registrations'), ($vnotify & VNOTIFY_REGISTER), VNOTIFY_REGISTER, ''),
|
||||
'$always_show_in_notices' => array('always_show_in_notices', t('Also show new wall posts, private messages and connections under Notices'), $always_show_in_notices, 1, ''),
|
||||
'$vnotify1' => array('vnotify1', t('Unseen matrix activity'), ($vnotify & VNOTIFY_NETWORK), VNOTIFY_NETWORK, '', $yes_no),
|
||||
'$vnotify2' => array('vnotify2', t('Unseen channel activity'), ($vnotify & VNOTIFY_CHANNEL), VNOTIFY_CHANNEL, '', $yes_no),
|
||||
'$vnotify3' => array('vnotify3', t('Unseen private messages'), ($vnotify & VNOTIFY_MAIL), VNOTIFY_MAIL, t('Recommended'), $yes_no),
|
||||
'$vnotify4' => array('vnotify4', t('Upcoming events'), ($vnotify & VNOTIFY_EVENT), VNOTIFY_EVENT, '', $yes_no),
|
||||
'$vnotify5' => array('vnotify5', t('Events today'), ($vnotify & VNOTIFY_EVENTTODAY), VNOTIFY_EVENTTODAY, '', $yes_no),
|
||||
'$vnotify6' => array('vnotify6', t('Upcoming birthdays'), ($vnotify & VNOTIFY_BIRTHDAY), VNOTIFY_BIRTHDAY, t('Not available in all themes'), $yes_no),
|
||||
'$vnotify7' => array('vnotify7', t('System (personal) notifications'), ($vnotify & VNOTIFY_SYSTEM), VNOTIFY_SYSTEM, '', $yes_no),
|
||||
'$vnotify8' => array('vnotify8', t('System info messages'), ($vnotify & VNOTIFY_INFO), VNOTIFY_INFO, t('Recommended'), $yes_no),
|
||||
'$vnotify9' => array('vnotify9', t('System critical alerts'), ($vnotify & VNOTIFY_ALERT), VNOTIFY_ALERT, t('Recommended'), $yes_no),
|
||||
'$vnotify10' => array('vnotify10', t('New connections'), ($vnotify & VNOTIFY_INTRO), VNOTIFY_INTRO, t('Recommended'), $yes_no),
|
||||
'$vnotify11' => array('vnotify11', t('System Registrations'), ($vnotify & VNOTIFY_REGISTER), VNOTIFY_REGISTER, '', $yes_no),
|
||||
'$always_show_in_notices' => array('always_show_in_notices', t('Also show new wall posts, private messages and connections under Notices'), $always_show_in_notices, 1, '', $yes_no),
|
||||
|
||||
'$evdays' => array('evdays', t('Notify me of events this many days in advance'), $evdays, t('Must be greater than 0')),
|
||||
|
||||
|
4
view/css/bootstrap-red.css
vendored
4
view/css/bootstrap-red.css
vendored
@ -68,6 +68,10 @@ code {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.form-control {
|
||||
font-size: unset;
|
||||
}
|
||||
|
||||
/* Bootstrap assumes that checkboxes are on the left of labels, while it's usually the opposite in Red */
|
||||
.field.checkbox input[type="checkbox"] { margin-left: 0px; }
|
||||
.field.checkbox label { padding-left: 0px; font-weight: 700}
|
||||
|
@ -24,14 +24,6 @@ ul#settings-privacy-macros {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#settings-permissions-wrapper .field {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#settings-permissions-wrapper .field > label {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.settings-submit-wrapper {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
@ -41,10 +33,6 @@ ul#settings-privacy-macros {
|
||||
margin-bottom: 45px;
|
||||
}
|
||||
|
||||
#settings-notifications .field > label {
|
||||
margin-left: 20px;
|
||||
width: 330px;
|
||||
}
|
||||
#settings-notify-desc, #settings-activity-desc, #settings-vnotify-desc {
|
||||
font-weight: bold;
|
||||
margin-bottom: 15px;
|
||||
@ -78,3 +66,7 @@ ul#settings-privacy-macros {
|
||||
#settings-dspr-wrapper {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.group {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
11150
view/nl/messages.po
11150
view/nl/messages.po
File diff suppressed because it is too large
Load Diff
2471
view/nl/strings.php
2471
view/nl/strings.php
File diff suppressed because it is too large
Load Diff
@ -183,17 +183,6 @@ header {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.info-message {
|
||||
font-size: 1.1em;
|
||||
border: 1px solid #444;
|
||||
background-color: $infomess_bgcolour;
|
||||
padding: 10px;
|
||||
-moz-border-radius: $radiuspx;
|
||||
border-radius: $radiuspx;
|
||||
|
||||
}
|
||||
|
||||
|
||||
nav #banner #logo-text a {
|
||||
font-size: 40px;
|
||||
font-weight: bold;
|
||||
@ -288,75 +277,11 @@ footer {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#main-login {
|
||||
#login-main {
|
||||
max-width: 300px;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
#main-login #id_username, #main-login #id_password {
|
||||
width: 200px;
|
||||
padding: 10px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#main-login #id_remember {
|
||||
float: left;
|
||||
padding: 0;
|
||||
margin-bottom: 0;
|
||||
margin-left: 0;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
#main-login .field.checkbox > label {
|
||||
margin-bottom: 0;
|
||||
float: left;
|
||||
width: 100px;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
#main-login .field_end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#main-login .field.input label, #main-login .field.password label {
|
||||
float: left;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
#login_standard {
|
||||
width: 350px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
||||
#login_standard input,
|
||||
#login_openid input {
|
||||
width: 180px;
|
||||
}
|
||||
|
||||
#login-extra-links {
|
||||
clear: both;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
#register-link {
|
||||
float: left;
|
||||
margin-left: 100px;
|
||||
}
|
||||
#lost-password-link {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#login-standard-end {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#login-submit-button {
|
||||
|
||||
margin-left: 100px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
#cropimage-wrapper, #cropimage-preview-wrapper {
|
||||
float: left;
|
||||
padding: 30px;
|
||||
@ -371,18 +296,6 @@ footer {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#profile-edit-wrapper .field {
|
||||
margin-top: 20px;
|
||||
}
|
||||
#profile-edit-wrapper .field > label {
|
||||
width: 175px;
|
||||
}
|
||||
|
||||
#profile-edit-wrapper .field input[type="text"] {
|
||||
width: 220px;
|
||||
}
|
||||
|
||||
|
||||
#profile-edit-links {
|
||||
max-width: $converse_width;
|
||||
padding-top: 15px;
|
||||
@ -1258,71 +1171,6 @@ nav .acpopup {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Form fields
|
||||
*/
|
||||
.field {
|
||||
margin-bottom: 10px;
|
||||
/* padding-bottom: 10px; */
|
||||
overflow: auto;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.field > label {
|
||||
float: left;
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
.field input,
|
||||
.field textarea {
|
||||
width: 400px;
|
||||
}
|
||||
.field textarea { height: 100px; }
|
||||
.field_help {
|
||||
display: block;
|
||||
margin-left: 350px;
|
||||
color: #666666;
|
||||
|
||||
}
|
||||
|
||||
.field input[type="checkbox"] {
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
.field .onoff {
|
||||
float: left;
|
||||
width: 80px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
.field .onoff a {
|
||||
display: block;
|
||||
border:1px solid #666666;
|
||||
background-image:url("../../../../images/onoff.jpg");
|
||||
background-repeat: no-repeat;
|
||||
padding: 4px 2px 2px 2px;
|
||||
height: 24px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.field .onoff .off {
|
||||
border-color:#666666;
|
||||
padding-left: 40px;
|
||||
background-position: left center;
|
||||
background-color: #cccccc;
|
||||
color: #666666;
|
||||
text-align: right;
|
||||
}
|
||||
.field .onoff .on {
|
||||
border-color:#204A87;
|
||||
padding-right: 40px;
|
||||
background-position: right center;
|
||||
background-color: #D7E3F1;
|
||||
color: #204A87;
|
||||
text-align: left;
|
||||
}
|
||||
.hidden { display: none!important; }
|
||||
|
||||
.field.radio .field_help { margin-left: 0px; }
|
||||
.field.checkbox .field_help { display: inline; margin-left: 10px; }
|
||||
|
||||
|
||||
/**
|
||||
@ -2064,17 +1912,30 @@ nav .dropdown-menu>li>a:hover,nav .dropdown-menu>li>a:focus{
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.section-title-wrapper h2 {
|
||||
.section-title-wrapper h2,
|
||||
.section-subtitle-wrapper h3 {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
.section-subtitle-wrapper {
|
||||
padding: 7px 10px;
|
||||
background-color: $item_colour;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.section-content-tools-wrapper {
|
||||
padding: 7px 10px;
|
||||
background-color: $comment_item_colour;
|
||||
margin-bottom: 3px;
|
||||
margin-bottom: 3px
|
||||
}
|
||||
|
||||
.section-content-info-wrapper {
|
||||
padding: 21px 10px;
|
||||
color: #31708f;
|
||||
background-color: #d9edf7;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.section-content-wrapper {
|
||||
padding: 7px 10px;
|
||||
background-color: $comment_item_colour;
|
||||
@ -2102,6 +1963,18 @@ nav ul li .notify-unseen
|
||||
|
||||
/* bootstrap overrides */
|
||||
|
||||
.panel {
|
||||
background-color: transparent;
|
||||
border: 0px solid transparent;
|
||||
border-radius: 0px;
|
||||
-webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .0);
|
||||
box-shadow: 0 0px 0px rgba(0, 0, 0, .0);
|
||||
}
|
||||
|
||||
.panel-group .panel + .panel {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-size: $font_size;
|
||||
font-style: italic;
|
||||
@ -2402,9 +2275,8 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
|
||||
|
||||
|
||||
/* Turn checkboxes into switches */
|
||||
.field.checkbox .fieldhelp { vertical-align:top; }
|
||||
.field.checkbox > div {
|
||||
position: relative; width: 70px;
|
||||
position: relative; width: 60px;
|
||||
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
|
||||
display:inline-block;
|
||||
}
|
||||
@ -2415,8 +2287,8 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
|
||||
|
||||
.field.checkbox > div label {
|
||||
display: block; overflow: hidden; cursor: pointer;
|
||||
border: 2px solid #999999;
|
||||
border-radius: 20px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
@ -2433,31 +2305,32 @@ aside .nav > li > a:hover, aside .nav > li > a:focus {
|
||||
|
||||
.onoffswitch-inner:before {
|
||||
content: attr(data-on);
|
||||
padding-left: 10px;
|
||||
padding-right: 21px;
|
||||
background-color: #EEEEEE;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.onoffswitch-inner:after {
|
||||
content: attr(data-off);
|
||||
padding-right: 10px;
|
||||
padding-left: 21px;
|
||||
background-color: #EEEEEE; color: #999999;
|
||||
text-align: right;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.onoffswitch-switch {
|
||||
display: block; width: 25px; margin-left: 6px; margin-right: 6px; margin-top:5%; margin-bottom:5%;
|
||||
display: block; width: 15px; margin:4px;
|
||||
background: #A1A1A1;
|
||||
border: 2px solid #999999; border-radius: 20px;
|
||||
border-radius: 10px;
|
||||
position: absolute; top: 0; bottom: 0; right: 36px;
|
||||
-moz-transition: all 0.3s ease-in 0s; -webkit-transition: all 0.3s ease-in 0s;
|
||||
-o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s;
|
||||
}
|
||||
|
||||
.field.checkbox > div > input:checked + label .onoffswitch-inner {
|
||||
margin-left: 0;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
.field.checkbox > div > input:checked + label .onoffswitch-switch {
|
||||
right: -2px;
|
||||
background-color: #27A1CA;
|
||||
right: 0px;
|
||||
background-color: $link_colour;
|
||||
}
|
||||
|
@ -1,4 +1,6 @@
|
||||
<div class='field checkbox'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<div><input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="1" {{if $field.2}}checked="checked"{{/if}}><label class="switchlabel" for='id_{{$field.0}}'> <span class="onoffswitch-inner" data-on='{{if $field.4}}{{$field.4.1}}{{/if}}' data-off='{{if $field.4}}{{$field.4.0}}{{/if}}'></span><span class="onoffswitch-switch"></span> </label></div><span class='field_help'>{{$field.3}}</span>
|
||||
<div class="form-group field checkbox">
|
||||
<label for="id_{{$field.0}}">{{$field.1}}</label>
|
||||
<div class="pull-right"><input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="1" {{if $field.2}}checked="checked"{{/if}}><label class="switchlabel" for='id_{{$field.0}}'> <span class="onoffswitch-inner" data-on='{{if $field.4}}{{$field.4.1}}{{/if}}' data-off='{{if $field.4}}{{$field.4.0}}{{/if}}'></span><span class="onoffswitch-switch"></span></label></div>
|
||||
<span class="help-block">{{$field.3}}</span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class='field input color'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input class='color' name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}">{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
|
||||
<span id='help_{{$field.0}}' class='field_help'>{{$field.3}}</span>
|
||||
<div class='form-group field input color'>
|
||||
<label for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input class='form-control color' name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}">{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
|
||||
<span id='help_{{$field.0}}' class='help-block'>{{$field.3}}</span>
|
||||
<div id='end_{{$field.0}}' class='field_end'></div>
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class='field custom'>
|
||||
<label class="mainlabel" for='{{$field.0}}'>{{$field.1}}</label>
|
||||
<div class='form-group field custom'>
|
||||
<label for='{{$field.0}}'>{{$field.1}}</label>
|
||||
{{$field.2}}
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
<span class='help-block'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class='field input'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}">{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
|
||||
<span id='help_{{$field.0}}' class='field_help'>{{$field.3}}</span>
|
||||
<div id='end_{{$field.0}}' class='field_end'></div>
|
||||
<div class='form-group field input'>
|
||||
<label for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' type="text" value="{{$field.2}}">{{if $field.4}} <span class="required">{{$field.4}}</span> {{/if}}
|
||||
<span id='help_{{$field.0}}' class='help-block'>{{$field.3}}</span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
@ -1,4 +1,6 @@
|
||||
<div class='field checkbox'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<div><input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="checked"{{/if}}><label class="switchlabel" for='id_{{$field.0}}'> <span class="onoffswitch-inner" data-on='{{if $field.5}}{{$field.5.1}}{{/if}}' data-off='{{if $field.5}}{{$field.5.0}}{{/if}}'></span><span class="onoffswitch-switch"></span> </label></div><span class='field_help'>{{$field.4}}</span>
|
||||
<div class="form-group field checkbox">
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<div class="pull-right"><input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="checked"{{/if}}><label class="switchlabel" for='id_{{$field.0}}'> <span class="onoffswitch-inner" data-on='{{if $field.5}}{{$field.5.1}}{{/if}}' data-off='{{if $field.5}}{{$field.5.0}}{{/if}}'></span><span class="onoffswitch-switch"></span> </label></div>
|
||||
<span class='help-block'>{{$field.4}}</span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class='field password'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
<div class='form-group field password'>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<input class="form-control" type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
|
||||
<span class='help-block'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class='field select'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
<div class='form-group field select'>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select class="form-control" name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
|
||||
</select>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
<span class='help-block'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class='field select'>
|
||||
<label class="mainlabel" style="font-weight: normal;" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select disabled="true" name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
<div class='form-group field select'>
|
||||
<label style="font-weight: normal;" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select class="form-control" disabled="true" name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
|
||||
</select>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
<span class='help-block'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class='field select'>
|
||||
<div class='form-group field select'>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
<select class="form-control" name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
{{foreach $field.4 as $group=>$opts}}
|
||||
<optgroup label='{{$group}}'>
|
||||
{{foreach $opts as $opt=>$val}}
|
||||
@ -8,5 +8,5 @@
|
||||
{{/foreach}}
|
||||
</optgroup>
|
||||
</select>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
<span class='help-block'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<div class='field select'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
<div class='form-group field select'>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select class="form-control" name='{{$field.0}}' id='id_{{$field.0}}'>
|
||||
{{$field.4}}
|
||||
</select>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
<span class='help-block'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<div class='field textarea'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<textarea name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.4}}{{$field.4}}{{/if}} >{{$field.2}}</textarea>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
<div class='form-group field textarea'>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<textarea class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.4}}{{$field.4}}{{/if}} >{{$field.2}}</textarea>
|
||||
<span class='help-block'>{{$field.3}}</span>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<script>$(document).ready(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
|
||||
<div class='field select'>
|
||||
<label class="mainlabel" for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5=='preview'}}onchange="previewTheme(this);"{{/if}} >
|
||||
<div class='form-group field select'>
|
||||
<label for='id_{{$field.0}}'>{{$field.1}}</label>
|
||||
<select class="form-control" name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5=='preview'}}onchange="previewTheme(this);"{{/if}} >
|
||||
{{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
|
||||
</select>
|
||||
<span class='field_help'>{{$field.3}}</span>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="field custom">
|
||||
<div class="form-group field custom">
|
||||
<label for="group-selection" id="group-selection-lbl">{{$label}}</label>
|
||||
<select name="group-selection" id="group-selection" >
|
||||
<select class="form-control" name="group-selection" id="group-selection" >
|
||||
{{foreach $groups as $group}}
|
||||
<option value="{{$group.id}}" {{if $group.selected}}selected="selected"{{/if}} >{{$group.name}}</option>
|
||||
{{/foreach}}
|
||||
|
@ -1,33 +1,29 @@
|
||||
|
||||
<form action="{{$dest_url}}" id="{{$form_id}}" method="post" >
|
||||
<input type="hidden" name="auth-params" value="login" />
|
||||
<div id="login-main">
|
||||
<div id="login_standard">
|
||||
{{include file="field_input.tpl" field=$lname}}
|
||||
{{include file="field_password.tpl" field=$lpassword}}
|
||||
</div>
|
||||
|
||||
<div id="login_standard">
|
||||
{{include file="field_input.tpl" field=$lname}}
|
||||
{{include file="field_password.tpl" field=$lpassword}}
|
||||
</div>
|
||||
<div id="login-extra-links">
|
||||
{{if $register}}<a href="{{$register.link}}" title="{{$register.title}}" id="register-link">{{$register.desc}}</a> |{{/if}}
|
||||
<a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
<div id="login-extra-links">
|
||||
{{if $register}}<a href="{{$register.link}}" title="{{$register.title}}" id="register-link">{{$register.desc}}</a>{{/if}}
|
||||
<a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a>
|
||||
</div>
|
||||
{{include file="field_checkbox.tpl" field=$remember}}
|
||||
|
||||
<div class="clear"></div>
|
||||
<div class="clear"></div>
|
||||
|
||||
{{include file="field_checkbox.tpl" field=$remember}}
|
||||
|
||||
<div id="login-standard-end"></div>
|
||||
|
||||
<div id="login-submit-wrapper" >
|
||||
<input type="submit" name="submit" id="login-submit-button" class="btn btn-default" value="{{$login}}" />
|
||||
<div id="login-submit-wrapper" >
|
||||
<input type="submit" name="submit" id="login-submit-button" class="btn btn-default" value="{{$login}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{foreach $hiddens as $k=>$v}}
|
||||
<input type="hidden" name="{{$k}}" value="{{$v}}" />
|
||||
{{/foreach}}
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>
|
||||
|
@ -1,152 +1,160 @@
|
||||
<div class="generic-content-wrapper-styled">
|
||||
<h1>{{$ptitle}}</h1>
|
||||
|
||||
{{$nickname_block}}
|
||||
|
||||
<form action="settings" id="settings-form" method="post" autocomplete="off" >
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}' />
|
||||
|
||||
<h3 class="settings-heading">{{$h_basic}}</h3>
|
||||
|
||||
{{include file="field_input.tpl" field=$username}}
|
||||
{{include file="field_select_grouped.tpl" field=$timezone}}
|
||||
{{include file="field_input.tpl" field=$defloc}}
|
||||
{{include file="field_checkbox.tpl" field=$allowloc}}
|
||||
|
||||
{{include file="field_checkbox.tpl" field=$adult}}
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
|
||||
</div>
|
||||
|
||||
|
||||
<h3 class="settings-heading">{{$h_prv}}</h3>
|
||||
|
||||
{{include file="field_select_grouped.tpl" field=$role}}
|
||||
|
||||
<div id="advanced-perm" style="display:{{if $permissions_set}}none{{else}}block{{/if}};">
|
||||
{{include file="field_checkbox.tpl" field=$hide_presence}}
|
||||
|
||||
<button type="button" class="btn btn-default" data-toggle="collapse" data-target="#settings-permissions-wrapper">{{$lbl_p2macro}}</button>
|
||||
|
||||
<div class="collapse well" id="settings-permissions-wrapper">
|
||||
|
||||
{{foreach $permiss_arr as $permit}}
|
||||
{{include file="field_select.tpl" field=$permit}}
|
||||
{{/foreach}}
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper">
|
||||
<button title="{{$permanent}}" class="btn btn-danger btn-xs pull-right" type="submit" formaction="removeme"><i class="icon-trash"></i> {{$removeme}}</button>
|
||||
<h2>{{$ptitle}}</h2>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="settings-default-perms" class="settings-default-perms" >
|
||||
<button class="btn btn-default" data-toggle="modal" data-target="#aclModal" onclick="return false;">{{$permissions}}</button>
|
||||
{{$aclselect}}
|
||||
<div id="settings-default-perms-menu-end"></div>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="settings-default-perms-end"></div>
|
||||
|
||||
{{$group_select}}
|
||||
|
||||
{{$profile_in_dir}}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="settings-common-perms">
|
||||
|
||||
|
||||
|
||||
{{$suggestme}}
|
||||
|
||||
{{include file="field_checkbox.tpl" field=$blocktags}}
|
||||
|
||||
|
||||
{{include file="field_input.tpl" field=$expire}}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h3 class="settings-heading">{{$h_not}}</h3>
|
||||
<div id="settings-notifications">
|
||||
|
||||
<div id="settings-activity-desc">{{$activity_options}}</div>
|
||||
{{*not yet implemented *}}
|
||||
{{*include file="field_checkbox.tpl" field=$post_joingroup*}}
|
||||
{{include file="field_checkbox.tpl" field=$post_newfriend}}
|
||||
{{include file="field_checkbox.tpl" field=$post_profilechange}}
|
||||
|
||||
|
||||
<div id="settings-notify-desc">{{$lbl_not}}</div>
|
||||
|
||||
<div class="group">
|
||||
{{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}}
|
||||
</div>
|
||||
|
||||
<div id="settings-vnotify-desc">{{$lbl_vnot}}</div>
|
||||
|
||||
<div class="group">
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify1}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify2}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify3}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify4}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify5}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify6}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify10}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify7}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify8}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify9}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify11}}
|
||||
{{include file="field_intcheckbox.tpl" field=$always_show_in_notices}}
|
||||
|
||||
{{*include file="field_intcheckbox.tpl" field=$vnotify11*}}
|
||||
</div>
|
||||
|
||||
{{include file="field_input.tpl" field=$evdays}}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
|
||||
</div>
|
||||
|
||||
|
||||
{{if $menus}}
|
||||
<h3 class="settings-heading">{{$lbl_misc}}</h3>
|
||||
|
||||
|
||||
|
||||
<div id="settings-menu-desc">{{$menu_desc}}</div>
|
||||
<div class="settings-channel-menu-div">
|
||||
<select name="channel_menu" class="settings-channel-menu-sel">
|
||||
{{foreach $menus as $menu }}
|
||||
<option value="{{$menu.name}}" {{$menu.selected}} >{{$menu.name}} </option>
|
||||
{{/foreach}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
|
||||
</div>
|
||||
<div id="settings-channel-menu-end"></div>
|
||||
{{/if}}
|
||||
<div id="settings-remove-account-link">
|
||||
<button title="{{$permanent}}" class="btn btn-danger" type="submit" formaction="removeme">{{$removeme}}</button>
|
||||
</div>
|
||||
|
||||
{{$nickname_block}}
|
||||
<form action="settings" id="settings-form" method="post" autocomplete="off" >
|
||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}' />
|
||||
<div class="panel-group" id="settings" role="tablist" aria-multiselectable="true">
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="basic-settings">
|
||||
<h3>
|
||||
<a data-toggle="collapse" data-parent="#settings" href="#basic-settings-collapse" aria-expanded="true" aria-controls="basic-settings-collapse">
|
||||
{{$h_basic}}
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div id="basic-settings-collapse" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="basic-settings">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{include file="field_input.tpl" field=$username}}
|
||||
{{include file="field_select_grouped.tpl" field=$timezone}}
|
||||
{{include file="field_input.tpl" field=$defloc}}
|
||||
{{include file="field_checkbox.tpl" field=$allowloc}}
|
||||
{{include file="field_checkbox.tpl" field=$adult}}
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="privacy-settings">
|
||||
<h3>
|
||||
<a data-toggle="collapse" data-parent="#settings" href="#privacy-settings-collapse" aria-expanded="true" aria-controls="privacy-settings-collapse">
|
||||
{{$h_prv}}
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div id="privacy-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="privacy-settings">
|
||||
<div class="section-content-tools-wrapper">
|
||||
{{include file="field_select_grouped.tpl" field=$role}}
|
||||
|
||||
<div id="advanced-perm" style="display:{{if $permissions_set}}none{{else}}block{{/if}};">
|
||||
{{include file="field_checkbox.tpl" field=$hide_presence}}
|
||||
<button type="button" class="btn btn-default" data-toggle="collapse" data-target="#settings-permissions-wrapper">{{$lbl_p2macro}}</button>
|
||||
|
||||
<div class="collapse well" id="settings-permissions-wrapper">
|
||||
|
||||
{{foreach $permiss_arr as $permit}}
|
||||
{{include file="field_select.tpl" field=$permit}}
|
||||
{{/foreach}}
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="settings-default-perms" class="settings-default-perms" >
|
||||
<button class="btn btn-default" data-toggle="modal" data-target="#aclModal" onclick="return false;">{{$permissions}}</button>
|
||||
{{$aclselect}}
|
||||
<div id="settings-default-perms-menu-end"></div>
|
||||
</div>
|
||||
<div id="settings-default-perms-end"></div>
|
||||
{{$group_select}}
|
||||
{{$profile_in_dir}}
|
||||
</div>
|
||||
<div class="settings-common-perms">
|
||||
{{$suggestme}}
|
||||
{{include file="field_checkbox.tpl" field=$blocktags}}
|
||||
{{include file="field_input.tpl" field=$expire}}
|
||||
</div>
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="notification-settings">
|
||||
<h3>
|
||||
<a data-toggle="collapse" data-parent="#settings" href="#notification-settings-collapse" aria-expanded="true" aria-controls="notification-settings-collapse">
|
||||
{{$h_not}}
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div id="notification-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="notification-settings">
|
||||
<div class="section-content-tools-wrapper">
|
||||
<div id="settings-notifications">
|
||||
<div id="settings-activity-desc">{{$activity_options}}</div>
|
||||
<div class="group">
|
||||
{{*not yet implemented *}}
|
||||
{{*include file="field_checkbox.tpl" field=$post_joingroup*}}
|
||||
{{include file="field_checkbox.tpl" field=$post_newfriend}}
|
||||
{{include file="field_checkbox.tpl" field=$post_profilechange}}
|
||||
</div>
|
||||
<div id="settings-notify-desc">{{$lbl_not}}</div>
|
||||
<div class="group">
|
||||
{{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}}
|
||||
</div>
|
||||
<div id="settings-vnotify-desc">{{$lbl_vnot}}</div>
|
||||
<div class="group">
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify1}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify2}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify3}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify4}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify5}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify6}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify10}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify7}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify8}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify9}}
|
||||
{{include file="field_intcheckbox.tpl" field=$vnotify11}}
|
||||
{{include file="field_intcheckbox.tpl" field=$always_show_in_notices}}
|
||||
|
||||
{{*include file="field_intcheckbox.tpl" field=$vnotify11*}}
|
||||
</div>
|
||||
{{include file="field_input.tpl" field=$evdays}}
|
||||
</div>
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{if $menus}}
|
||||
<div class="panel">
|
||||
<div class="section-subtitle-wrapper" role="tab" id="miscellaneous-settings">
|
||||
<h3>
|
||||
<a data-toggle="collapse" data-parent="#settings" href="#miscellaneous-settings-collapse" aria-expanded="true" aria-controls="miscellaneous-settings-collapse">
|
||||
{{$lbl_misc}}
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div id="miscellaneous-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="miscellaneous-settings">
|
||||
<div class="section-content-wrapper">
|
||||
<div class="form-group">
|
||||
<label for="channel_menu">{{$menu_desc}}</label>
|
||||
<select name="channel_menu" class="form-control">
|
||||
{{foreach $menus as $menu }}
|
||||
<option value="{{$menu.name}}" {{$menu.selected}} >{{$menu.name}} </option>
|
||||
{{/foreach}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}"{{if !$expert}} onclick="$('select').prop('disabled', false);"{{/if}} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div id="settings-nick-wrapper" >
|
||||
<div id="settings-nickname-desc" class="info-message">{{$desc}} <strong>'{{$nickname}}@{{$basepath}}'</strong>{{$subdir}}</div>
|
||||
<div id="settings-nick-wrapper" class="section-content-info-wrapper">
|
||||
<div id="settings-nickname-desc">{{$desc}} <strong>'{{$nickname}}@{{$basepath}}'</strong>{{$subdir}}</div>
|
||||
</div>
|
||||
<div id="settings-nick-end" ></div>
|
||||
|
Reference in New Issue
Block a user