diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2013-05-08 04:23:17 -0400 |
commit | 5e1980becf69a4c65489bed6f94fa730ec8ef4bf (patch) | |
tree | 2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/settings.tpl | |
parent | c753fa19d289e936131aad706cf31bcfe111b4c1 (diff) | |
download | volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.gz volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.tar.bz2 volse-hubzilla-5e1980becf69a4c65489bed6f94fa730ec8ef4bf.zip |
remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
Diffstat (limited to 'view/tpl/settings.tpl')
-rwxr-xr-x[-rw-r--r--] | view/tpl/settings.tpl | 91 |
1 files changed, 48 insertions, 43 deletions
diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index ea44c1240..251fa9be4 100644..100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -1,71 +1,76 @@ -<h1>$ptitle</h1> +{{* + * AUTOMATICALLY GENERATED TEMPLATE + * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN + * + *}} +<h1>{{$ptitle}}</h1> -$nickname_block +{{$nickname_block}} <form action="settings" id="settings-form" method="post" autocomplete="off" > -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -<h3 class="settings-heading">$h_basic</h3> +<h3 class="settings-heading">{{$h_basic}}</h3> -{{inc field_input.tpl with $field=$username }}{{endinc}} -{{inc field_custom.tpl with $field=$timezone }}{{endinc}} -{{inc field_input.tpl with $field=$defloc }}{{endinc}} -{{inc field_checkbox.tpl with $field=$allowloc }}{{endinc}} +{{include file="field_input.tpl" field=$username}} +{{include file="field_custom.tpl" field=$timezone}} +{{include file="field_input.tpl" field=$defloc}} +{{include file="field_checkbox.tpl" field=$allowloc}} <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> -<h3 class="settings-heading">$h_prv</h3> +<h3 class="settings-heading">{{$h_prv}}</h3> <div id="settings-permissions-wrapper"> -{{ for $permiss_arr as $permit }} -{{inc field_select.tpl with $field=$permit }}{{endinc}} -{{ endfor }} +{{foreach $permiss_arr as $permit}} +{{include file="field_select.tpl" field=$permit}} +{{/foreach}} </div> <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> -$profile_in_dir +{{$profile_in_dir}} -$suggestme +{{$suggestme}} -{{inc field_input.tpl with $field=$maxreq }}{{endinc}} +{{include file="field_input.tpl" field=$maxreq}} -{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}} +{{include file="field_input.tpl" field=$cntunkmail}} -{{inc field_input.tpl with $field=$expire.days }}{{endinc}} +{{include file="field_input.tpl" field=$expire.days}} <div class="field input"> - <span class="field_help"><a href="#advanced-expire-popup" id="advanced-expire" class='popupbox' title="$expire.advanced">$expire.label</a></span> + <span class="field_help"><a href="#advanced-expire-popup" id="advanced-expire" class='popupbox' title="{{$expire.advanced}}">{{$expire.label}}</a></span> <div style="display: none;"> <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.starred }}{{endinc}} - {{ inc field_yesno.tpl with $field=$expire.network_only }}{{endinc}} + <h3>{{$expire.advanced}}</h3> + {{include file="field_yesno.tpl" field=$expire.items}} + {{include file="field_yesno.tpl" field=$expire.starred}} + {{include file="field_yesno.tpl" field=$expire.network_only}} </div> </div> </div> <div id="settings-default-perms" class="settings-default-perms" > - <a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>$permissions $permdesc</a> + <a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>{{$permissions}} {{$permdesc}}</a> <div id="settings-default-perms-menu-end"></div> <div id="settings-default-perms-select" style="display: none; margin-bottom: 20px" > <div style="display: none;"> <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;"> - $aclselect + {{$aclselect}} </div> </div> @@ -74,41 +79,41 @@ $suggestme <br/> <div id="settings-default-perms-end"></div> -$group_select +{{$group_select}} <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> -<h3 class="settings-heading">$h_not</h3> +<h3 class="settings-heading">{{$h_not}}</h3> <div id="settings-notifications"> -<div id="settings-activity-desc">$activity_options</div> +<div id="settings-activity-desc">{{$activity_options}}</div> -{{inc field_checkbox.tpl with $field=$post_newfriend }}{{endinc}} -{{inc field_checkbox.tpl with $field=$post_joingroup }}{{endinc}} -{{inc field_checkbox.tpl with $field=$post_profilechange }}{{endinc}} +{{include file="field_checkbox.tpl" field=$post_newfriend}} +{{include file="field_checkbox.tpl" field=$post_joingroup}} +{{include file="field_checkbox.tpl" field=$post_profilechange}} -<div id="settings-notify-desc">$lbl_not</div> +<div id="settings-notify-desc">{{$lbl_not}}</div> <div class="group"> -{{inc field_intcheckbox.tpl with $field=$notify1 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify2 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify3 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify4 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify5 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify6 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify7 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify8 }}{{endinc}} +{{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> <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> |