]> git.mxchange.org Git - friendica.git/commitdiff
change field_*.tpl to * in some missed templates
authorZach Prezkuta <fermion@gmx.com>
Mon, 24 Dec 2012 14:05:42 +0000 (07:05 -0700)
committerZach Prezkuta <fermion@gmx.com>
Mon, 24 Dec 2012 14:05:42 +0000 (07:05 -0700)
view/admin_site.tpl
view/smarty3/admin_site.tpl
view/theme/dispy/config.php
view/theme/dispy/smarty3/theme_settings.tpl
view/theme/dispy/theme_settings.tpl
view/theme/frost-mobile/contact_edit.tpl
view/theme/frost-mobile/smarty3/contact_edit.tpl
view/theme/quattro/smarty3/theme_settings.tpl
view/theme/quattro/theme_settings.tpl

index 4892dc31455d6ef8379d63823512910bc51af812..24cd12b0cb63dcc2889ecad4b3e1c21abccefe46 100644 (file)
        <form action="$baseurl/admin/site" method="post">
     <input type='hidden' name='form_security_token' value='$form_security_token'>
 
-       {{ inc field_input.tpl with $field=$sitename }}{{ endinc }}
-       {{ inc field_textarea.tpl with $field=$banner }}{{ endinc }}
-       {{ inc field_select.tpl with $field=$language }}{{ endinc }}
-       {{ inc field_select.tpl with $field=$theme }}{{ endinc }}
-       {{ inc field_select.tpl with $field=$theme_mobile }}{{ endinc }}
-       {{ inc field_select.tpl with $field=$ssl_policy }}{{ endinc }}
-       {{ inc field_checkbox.tpl with $field=$new_share }}{{ endinc }}
+       {{ inc $field_input with $field=$sitename }}{{ endinc }}
+       {{ inc $field_textarea with $field=$banner }}{{ endinc }}
+       {{ inc $field_select with $field=$language }}{{ endinc }}
+       {{ inc $field_select with $field=$theme }}{{ endinc }}
+       {{ inc $field_select with $field=$theme_mobile }}{{ endinc }}
+       {{ inc $field_select with $field=$ssl_policy }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$new_share }}{{ endinc }}
 
        
        <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
        <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
        
        <h3>$advanced</h3>
-       {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }}
-       {{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$proxy }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$timeout }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$delivery_interval }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$poll_interval }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$maxloadavg }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$lockpath }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$temppath }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$basepath }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$no_utf }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$verifyssl }}{{ endinc }}
+       {{ inc $field_input with $field=$proxy }}{{ endinc }}
+       {{ inc $field_input with $field=$proxyuser }}{{ endinc }}
+       {{ inc $field_input with $field=$timeout }}{{ endinc }}
+       {{ inc $field_input with $field=$delivery_interval }}{{ endinc }}
+       {{ inc $field_input with $field=$poll_interval }}{{ endinc }}
+       {{ inc $field_input with $field=$maxloadavg }}{{ endinc }}
+       {{ inc $field_input with $field=$abandon_days }}{{ endinc }}
+       {{ inc $field_input with $field=$lockpath }}{{ endinc }}
+       {{ inc $field_input with $field=$temppath }}{{ endinc }}
+       {{ inc $field_input with $field=$basepath }}{{ endinc }}
 
        <h3>$performance</h3>
-       {{ inc field_checkbox.tpl with $field=$use_fulltext_engine }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$itemcache }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$itemcache_duration }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$use_fulltext_engine }}{{ endinc }}
+       {{ inc $field_input with $field=$itemcache }}{{ endinc }}
+       {{ inc $field_input with $field=$itemcache_duration }}{{ endinc }}
 
        
        <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
index 60959eb414be3b5c96bcbf18f8faa278fd857799..290ee0bb1a5e17bcdda09e1675cdfe8d5eb9092f 100644 (file)
@@ -47,6 +47,8 @@
        {{include file="file:{{$field_select}}" field=$theme}}
        {{include file="file:{{$field_select}}" field=$theme_mobile}}
        {{include file="file:{{$field_select}}" field=$ssl_policy}}
+       {{include file="file:{{$field_checkbox}}" field=$new_share}}
+
        
        <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
        
        {{include file="file:{{$field_input}}" field=$poll_interval}}
        {{include file="file:{{$field_input}}" field=$maxloadavg}}
        {{include file="file:{{$field_input}}" field=$abandon_days}}
+       {{include file="file:{{$field_input}}" field=$lockpath}}
+       {{include file="file:{{$field_input}}" field=$temppath}}
+       {{include file="file:{{$field_input}}" field=$basepath}}
+
+       <h3>{{$performance}}</h3>
+       {{include file="file:{{$field_checkbox}}" field=$use_fulltext_engine}}
+       {{include file="file:{{$field_input}}" field=$itemcache}}
+       {{include file="file:{{$field_input}}" field=$itemcache_duration}}
+
        
        <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
        
index f2fe11b3d2932331351059c86e235ad2abbd83b0..78166312dca8e1efaf1a6283127cd527943bdbad 100644 (file)
@@ -65,7 +65,6 @@ function dispy_form(&$a, $font_size, $line_height, $colour) {
                'dark' => 'dark',                                               
        );
 
-       //$t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
        $t = get_markup_template("theme_settings.tpl" );
 
        $includes = array(
index 9fcf76b88388d570540d8f30a57429dfc9bf7c0c..0d2d0de3a88e81609fb2c971a96c1d091f63d274 100644 (file)
@@ -1,8 +1,8 @@
-{{include file="field_select.tpl" field=$colour}}
+{{include file="file:{{$field_select}}" field=$colour}}
 
-{{include file="field_select.tpl" field=$font_size}}
+{{include file="file:{{$field_select}}" field=$font_size}}
 
-{{include file="field_select.tpl" field=$line_height}}
+{{include file="file:{{$field_select}}" field=$line_height}}
 
 <div class="settings-submit-wrapper">
        <input type="submit" value="{{$submit}}" class="settings-submit" name="dispy-settings-submit" />
index 9d250cb3aab681c3a76e98399f1fb600ec3c9232..9b5af70032f34f1d26a5eadb50d6502badb39f1d 100644 (file)
@@ -1,8 +1,8 @@
-{{inc field_select.tpl with $field=$colour}}{{endinc}}
+{{inc $field_select with $field=$colour}}{{endinc}}
 
-{{inc field_select.tpl with $field=$font_size}}{{endinc}}
+{{inc $field_select with $field=$font_size}}{{endinc}}
 
-{{inc field_select.tpl with $field=$line_height}}{{endinc}}
+{{inc $field_select with $field=$line_height}}{{endinc}}
 
 <div class="settings-submit-wrapper">
        <input type="submit" value="$submit" class="settings-submit" name="dispy-settings-submit" />
index b87b3b651caf047ea223bae4215c88a35468d057..da192da7d8612116a47cef3ae58b8d0d0c3b05f1 100644 (file)
@@ -70,7 +70,7 @@
        {{ endif }}
        <div id="contact-edit-end" ></div>
 
-       {{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
+       {{inc $field_checkbox with $field=$hidden }}{{endinc}}
 
 <div id="contact-edit-info-wrapper">
 <h4>$lbl_info1</h4>
index d5ade11bc0afd1d9e1783755a6e839e4d17ea36d..537a7b22f6244f81fa9896070536fd879134afe1 100644 (file)
@@ -70,7 +70,7 @@
        {{/if}}
        <div id="contact-edit-end" ></div>
 
-       {{include file="field_checkbox.tpl" field=$hidden}}
+       {{include file="file:{{$field_checkbox}}" field=$hidden}}
 
 <div id="contact-edit-info-wrapper">
 <h4>{{$lbl_info1}}</h4>
index cf2a4935de26d5849d702cb24c33f33a9bbd6f5b..4b87ac24c8ed5e1ef27b9edb64a1d9a8e37a84f2 100644 (file)
@@ -1,8 +1,8 @@
  <script src="{{$baseurl}}/view/theme/quattro/jquery.tools.min.js"></script>
  
-{{include file="field_select.tpl" field=$color}}
+{{include file="file:{{$field_select}}" field=$color}}
 
-{{include file="field_select.tpl" field=$align}}
+{{include file="file:{{$field_select}}" field=$align}}
 
 
 <div class="field">
@@ -29,4 +29,4 @@
 <script>
     
     $(".inputRange").rangeinput();
-</script>
\ No newline at end of file
+</script>
index 47105d7aa478f320d250456ea5d7e59222216f61..db70f07e76ec12dc8bff4b632a8eb14de34df0e1 100644 (file)
@@ -1,8 +1,8 @@
  <script src="$baseurl/view/theme/quattro/jquery.tools.min.js"></script>
  
-{{inc field_select.tpl with $field=$color}}{{endinc}}
+{{inc $field_select with $field=$color}}{{endinc}}
 
-{{inc field_select.tpl with $field=$align}}{{endinc}}
+{{inc $field_select with $field=$align}}{{endinc}}
 
 
 <div class="field">
@@ -29,4 +29,4 @@
 <script>
     
     $(".inputRange").rangeinput();
-</script>
\ No newline at end of file
+</script>