diff options
author | friendica <info@friendica.com> | 2012-08-01 05:02:43 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-01 05:02:43 -0700 |
commit | dcbc0c0c9516adf616023615871439b4015fa686 (patch) | |
tree | 451f1e7f53e9635a2640bef66c4541d1dd4b6c10 /view/admin_site.tpl | |
parent | 7a0894287268658361c90e2f4d1b77f8ca5739a6 (diff) | |
download | volse-hubzilla-dcbc0c0c9516adf616023615871439b4015fa686.tar.gz volse-hubzilla-dcbc0c0c9516adf616023615871439b4015fa686.tar.bz2 volse-hubzilla-dcbc0c0c9516adf616023615871439b4015fa686.zip |
major theme re-org, only duepuntozero and slackr working atm
Diffstat (limited to 'view/admin_site.tpl')
-rw-r--r-- | view/admin_site.tpl | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/view/admin_site.tpl b/view/admin_site.tpl deleted file mode 100644 index 3ca03262d..000000000 --- a/view/admin_site.tpl +++ /dev/null @@ -1,91 +0,0 @@ -<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> - - <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=$ssl_policy }}{{ endinc }} - - <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> - - <h3>$registration</h3> - {{ inc field_input.tpl with $field=$register_text }}{{ endinc }} - {{ inc field_select.tpl with $field=$register_policy }}{{ endinc }} - - {{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }} - - <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> - - <h3>$upload</h3> - {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }} - - <h3>$corporate</h3> - {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }} - {{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_community_page }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$ostatus_disabled }}{{ endinc }} - {{ 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 }} - - <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 }} - - <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> - - </form> -</div> |