This commit is contained in:
hauke 2014-09-07 10:26:38 +02:00
parent 2947be66b6
commit a162ea7251
4 changed files with 10 additions and 11 deletions

View File

@ -20,10 +20,10 @@
}).trigger('change');
$('.settings-block').hide();
$('.settings-content-block').hide();
$('.settings-heading').click(function(){
$('.settings-block').hide();
$(this).next('.settings-block').toggle();
$('.settings-content-block').hide();
$(this).next('.settings-content-block').toggle();
});
});

View File

@ -6,7 +6,7 @@
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
<h3 class="settings-heading">{{$h_pass}}</h3>
<div class="settings-block">
<div class="settings-content-block">
{{include file="field_password.tpl" field=$password1}}
{{include file="field_password.tpl" field=$password2}}
{{include file="field_password.tpl" field=$password3}}
@ -21,7 +21,7 @@
</div>
<h3 class="settings-heading">{{$h_basic}}</h3>
<div class="settings-block">
<div class="settings-content-block">
{{include file="field_input.tpl" field=$username}}
{{include file="field_input.tpl" field=$email}}
@ -38,7 +38,7 @@
<h3 class="settings-heading">{{$h_prv}}</h3>
<div class="settings-block">
<div class="settings-content-block">
<input type="hidden" name="visibility" value="{{$visibility}}" />
@ -110,7 +110,7 @@
<h3 class="settings-heading">{{$h_not}}</h3>
<div class="settings-block">
<div class="settings-content-block">
<div id="settings-notifications">
<div id="settings-activity-desc">{{$activity_options}}</div>
@ -142,7 +142,7 @@
<h3 class="settings-heading">{{$h_advn}}</h3>
<div class="settings-block">
<div class="settings-content-block">
<div id="settings-pagetype-desc">{{$h_descadvn}}</div>
{{$pagetype}}
@ -153,7 +153,7 @@
</div>
<h3 class="settings-heading">{{$relocate}}</h3>
<div class="settings-block">
<div class="settings-content-block">
<div id="settings-pagetype-desc">{{$relocate_text}}</div>
<div class="settings-submit-wrapper" >

View File

@ -7,7 +7,7 @@
{{foreach $features as $f}}
<h3 class="settings-heading">{{$f.0}}</h3>
<div class="settings-block">
<div class="settings-content-block">
{{foreach $f.1 as $fcat}}
{{include file="field_yesno.tpl" field=$fcat}}

View File

@ -30,7 +30,6 @@ else if ($style == "plus")
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/plus.css" type="text/css" media="screen"/>'."\n";
$a->page['htmlhead'] .= <<< EOT
<script type="text/javascript" src="$baseurl/view/theme/vier/js/jquery.divgrow-1.3.1.f1.min.js"></script>
<script>
function collapseHeight(elems) {