aboutsummaryrefslogtreecommitdiff
path: root/imagecache_auto.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'imagecache_auto.admin.inc')
-rw-r--r--imagecache_auto.admin.inc43
1 files changed, 0 insertions, 43 deletions
diff --git a/imagecache_auto.admin.inc b/imagecache_auto.admin.inc
deleted file mode 100644
index 29b0fa7..0000000
--- a/imagecache_auto.admin.inc
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/**
- * @file
- * Administration page callbacks.
- */
-
-/**
- * Form builder. Configure ImageCache Auto.
- *
- * @ingroup forms
- * @see system_settings_form()
- */
-function imagecache_auto_admin_settings() {
- $form['imagecache_auto_max_width'] = array(
- '#type' => 'textfield',
- '#title' => t('Maximum preset width (pixels)'),
- '#default_value' => variable_get('imagecache_auto_max_width', '10000'),
- '#size' => 10,
- '#maxlength' => 64,
- '#description' => t('The maximum width an automatically created ImageCache preset can have.'),
- );
-
- $form['imagecache_auto_max_height'] = array(
- '#type' => 'textfield',
- '#title' => t('Maximum preset height (pixels)'),
- '#default_value' => variable_get('imagecache_auto_max_height', '10000'),
- '#size' => 10,
- '#maxlength' => 64,
- '#description' => t('The maximum height an automatically created ImageCache preset can have.'),
- );
-
- $form['imagecache_auto_max_presets'] = array(
- '#type' => 'textfield',
- '#title' => t('Maximum number of presets'),
- '#default_value' => variable_get('imagecache_auto_max_presets', '250'),
- '#size' => 10,
- '#maxlength' => 64,
- '#description' => t('The maximum number of total imagecache presets before ImageCache auto refuses to create additional presets. This might prevent abuses from malicious clients.'),
- );
-
- return system_settings_form($form);
-}
-