aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-05-21 20:23:48 +0000
committerplegall <plg@piwigo.org>2012-05-21 20:23:48 +0000
commit6225137c99f7dd52acd7a48bdec609b2e68a1af0 (patch)
tree388ab7e6701facad66d9c07bebdc485b384d44f9 /admin/themes/default
parent141e85eb1fca6ca20c245b8054e15817a1fcce05 (diff)
feature 2606: remove original multiple size configuration screen
git-svn-id: http://piwigo.org/svn/trunk@15230 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/admin.tpl1
-rw-r--r--admin/themes/default/template/derivatives.tpl138
2 files changed, 0 insertions, 139 deletions
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl
index a35aab58a..293e4be6e 100644
--- a/admin/themes/default/template/admin.tpl
+++ b/admin/themes/default/template/admin.tpl
@@ -101,7 +101,6 @@ Raphael("menubarUsers", 20, 16).path("").scale(0.6, 0.6, 0, 0).attr({fill: "#464
<dd>
<ul>
<li><a href="{$U_CONFIG_GENERAL}">{'Options'|@translate}</a></li>
- <li><a href="{$U_CONFIG_DERIVATIVES}">{'Multiple Size'|@translate}</a></li>
<li><a href="{$U_CONFIG_MENUBAR}">{'Menu Management'|@translate}</a></li>
<li><a href="{$U_CONFIG_EXTENTS}">{'Templates'|@translate}</a></li>
<li><a href="{$U_CONFIG_LANGUAGES}">{'Languages'|@translate}</a></li>
diff --git a/admin/themes/default/template/derivatives.tpl b/admin/themes/default/template/derivatives.tpl
deleted file mode 100644
index 59f6344a7..000000000
--- a/admin/themes/default/template/derivatives.tpl
+++ /dev/null
@@ -1,138 +0,0 @@
-<h2>{'Multiple Size'|@translate}</h2>
-
-{html_head}{literal}
-<style type="text/css">
-#derviativesForm .dError {
- background-color: red;
- color: yellow;
-}
-
-#derviativesForm .dErrorDesc {
-}
-
-#derviativesForm TABLE THEAD {
- height: 3em;
-}
-
-#derviativesForm TABLE INPUT[type="text"] {
- border: 0;
- width: 5em;
-}
-
-</style>
-{/literal}{/html_head}
-
-<form method="post" id="derviativesForm">
-<fieldset>
-<legend>{'Watermark'|@translate}</legend>
-
-
-<select name="w[file]" id="wSelect">
- {html_options options=$watermark_files selected=$watermark.file}
-</select>
-
-<p><img id="wImg"></img></p>
-
-<label>{'Min Width'|@translate}
- <input type="text" name="w[minw]" value="{$watermark.minw}"{if isset($ferrors.watermark.minw)}class="dError"{/if}>
-</label>
-
-<label>{'Min Height'|@translate}
- <input type="text" name="w[minh]" value="{$watermark.minh}"{if isset($ferrors.watermark.minh)}class="dError"{/if}>
-</label>
-
-<label>{'X Position'|@translate}
- <input type="text" name="w[xpos]" value="{$watermark.xpos}"{if isset($ferrors.watermark.xpos)}class="dError"{/if}>
-%</label>
-
-<label>{'Y Position'|@translate}
- <input type="text" name="w[ypos]" value="{$watermark.ypos}"{if isset($ferrors.watermark.ypos)}class="dError"{/if}>
-%</label>
-
-<label>{'X Repeat'|@translate}
- <input type="text" name="w[xrepeat]" value="{$watermark.xrepeat}"{if isset($ferrors.watermark.xrepeat)}class="dError"{/if}>
-</label>
-
-<label>{'Opacity'|@translate}
- <input type="text" name="w[opacity]" value="{$watermark.opacity}"{if isset($ferrors.watermark.opacity)}class="dError"{/if}>
-</label>
-
-</fieldset>
-
-<table class="table2">
- <thead>
- <tr>
- <td></td>
- <td>Enabled</td>
- <td>{'Width'|@translate}</td>
- <td>{'Height'|@translate}</td>
- <td>{'Crop'|@translate} (%)</td>
- <td>{'Min Width'|@translate}</td>
- <td>{'Min Height'|@translate}</td>
- <td>{'Sharpen'|@translate} (%)</td>
- <td>{'Quality'|@translate} (%)</td>
- </tr>
- </thead>
- {foreach from=$derivatives item=d key=type}
- <tr>
- <td>{$type|@translate}</td>
- <td>
- {if $d.must_enable}
- x
- {else}
- <input type="checkbox" name="d[{$type}][enabled]" {if $d.enabled}checked="checked"{/if}>
- {/if}
- </td>
- <td>
- <input type="text" name="d[{$type}][w]" value="{$d.w}"{if isset($ferrors.$type.w)}class="dError"{/if}>
- {if isset($ferrors.$type.w)}<span class="dErrorDesc" title="{$ferrors.$type.w}">!</span>{/if}
- </td>
- <td>{if !$d.must_square}
- <input type="text" name="d[{$type}][h]" value="{$d.h}"{if isset($ferrors.$type.h)}class="dError"{/if}>
- {if isset($ferrors.$type.h)}<span class="dErrorDesc" title="{$ferrors.$type.h}">!</span>{/if}
- {/if}</td>
- <td>{if !$d.must_square}
- <input type="text" name="d[{$type}][crop]" value="{$d.crop}"{if isset($ferrors.$type.crop)}class="dError"{/if}>
- {if isset($ferrors.$type.crop)}<span class="dErrorDesc" title="{$ferrors.$type.crop}">!</span>{/if}
- {/if}</td>
- <td>{if !$d.must_square}
- <input type="text" name="d[{$type}][minw]" value="{$d.minw}"{if isset($ferrors.$type.minw)}class="dError"{/if}>
- {if isset($ferrors.$type.minw)}<span class="dErrorDesc" title="{$ferrors.$type.minw}">!</span>{/if}
- {/if}</td>
- <td>{if !$d.must_square}
- <input type="text" name="d[{$type}][minh]" value="{$d.minh}"{if isset($ferrors.$type.minh)}class="dError"{/if}>
- {if isset($ferrors.$type.minh)}<span class="dErrorDesc" title="{$ferrors.$type.minh}">!</span>{/if}
- {/if}</td>
- <td>
- <input type="text" name="d[{$type}][sharpen]" value="{$d.sharpen}"{if isset($ferrors.$type.sharpen)}class="dError"{/if}>
- {if isset($ferrors.$type.sharpen)}<span class="dErrorDesc" title="{$ferrors.$type.sharpen}">!</span>{/if}
- </td>
- <td>
- <input type="text" name="d[{$type}][quality]" value="{$d.quality}"{if isset($ferrors.$type.quality)}class="dError"{/if}>
- {if isset($ferrors.$type.quality)}<span class="dErrorDesc" title="{$ferrors.$type.quality}">!</span>{/if}
- </td>
- </tr>
- {/foreach}
-</table>
-<p><input type="submit" value="{'Submit'|@translate}"></p>
-</form>
-
-{footer_script}{literal}
-jQuery(".dError").bind("focus", function () {
- jQuery(this).removeClass("dError");
-} );
-
-function onWatermarkChange()
-{
- var val = jQuery("#wSelect").val();
- if (val.length) {
- jQuery("#wImg").attr('src', {/literal}'{$ROOT_URL}'{literal}+val).show();
- }
- else {
- jQuery("#wImg").hide();
- }
-}
-
-onWatermarkChange();
-jQuery("#wSelect").bind("change", onWatermarkChange );
-{/literal}{/footer_script} \ No newline at end of file