more work on settings - move template utils to utils and get rid of mods

This commit is contained in:
friendica
2013-02-02 16:10:27 -08:00
parent 3eacd7aab3
commit 09ece497f7
5 changed files with 10 additions and 96 deletions

View File

@@ -37,14 +37,10 @@ $nickname_block
</div>
$profile_in_dir
$blocktags
$suggestme
{{inc field_input.tpl with $field=$maxreq }}{{endinc}}
{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}}
@@ -58,7 +54,6 @@ $suggestme
<div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
<h3>$expire.advanced</h3>
{{ inc field_yesno.tpl with $field=$expire.items }}{{endinc}}
{{ inc field_yesno.tpl with $field=$expire.notes }}{{endinc}}
{{ inc field_yesno.tpl with $field=$expire.starred }}{{endinc}}
{{ inc field_yesno.tpl with $field=$expire.network_only }}{{endinc}}
</div>
@@ -121,14 +116,3 @@ $group_select
<input type="submit" name="submit" class="settings-submit" value="$submit" />
</div>
<h3 class="settings-heading">$h_advn</h3>
<div id="settings-pagetype-desc">$h_descadvn</div>
$pagetype
<div class="settings-submit-wrapper" >
<input type="submit" name="submit" class="settings-submit" value="$submit" />
</div>

View File

@@ -42,14 +42,10 @@
</div>
{{$profile_in_dir}}
{{$blocktags}}
{{$suggestme}}
{{include file="field_input.tpl" field=$maxreq}}
{{include file="field_input.tpl" field=$cntunkmail}}
@@ -63,7 +59,6 @@
<div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
<h3>{{$expire.advanced}}</h3>
{{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}}
</div>
@@ -126,14 +121,3 @@
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
</div>
<h3 class="settings-heading">{{$h_advn}}</h3>
<div id="settings-pagetype-desc">{{$h_descadvn}}</div>
{{$pagetype}}
<div class="settings-submit-wrapper" >
<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
</div>