]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frost-mobile/admin_site.tpl
Merge pull request #515 from simonlnu/master
[friendica.git] / view / theme / frost-mobile / admin_site.tpl
index ff7c9bdb16c838e1d7c9b061e7798570ec5eedcb..087de4f7dbca41328d27d5e91872b0730e657309 100644 (file)
@@ -1,39 +1,4 @@
-<!--<script>
-       $(function(){
-               
-               $("#cnftheme").fancybox({
-                       width: 800,
-                       autoDimensions: false,
-                       onStart: function(){
-                               var theme = $("#id_theme :selected").val();
-                               $("#cnftheme").attr('href',"$baseurl/admin/themes/"+theme);
-                       }, 
-                       onComplete: function(){
-                               $("div#fancybox-content form").submit(function(e){
-                                       var url = $(this).attr('action');
-                                       // can't get .serialize() to work...
-                                       var data={};
-                                       $(this).find("input").each(function(){
-                                               data[$(this).attr('name')] = $(this).val();
-                                       });
-                                       $(this).find("select").each(function(){
-                                               data[$(this).attr('name')] = $(this).children(":selected").val();
-                                       });
-                                       console.log(":)", url, data);
-                                       
-                                       $.post(url, data, function(data) {
-                                               if(timer) clearTimeout(timer);
-                                               NavUpdate();
-                                               $.fancybox.close();
-                                       })
-                                       
-                                       return false;
-                               });
-                               
-                       }
-               });
-       });
-</script>-->
+
 <div id='adminpage'>
        <h1>$title - $page</h1>
        
@@ -44,6 +9,7 @@
        {{ 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 }}
        
        <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
@@ -60,6 +26,8 @@
 
        <h3>$upload</h3>
        {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$maximagelength }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$jpegimagequality }}{{ endinc }}
        
        <h3>$corporate</h3>
        {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }}
@@ -71,6 +39,8 @@
        {{ inc field_checkbox.tpl with $field=$diaspora_enabled }}{{ endinc }}
        {{ inc field_checkbox.tpl with $field=$dfrn_only }}{{ endinc }}
        {{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
        
        <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>