From 37dfa061c420255125610a9218b54e5bb2561459 Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Sun, 23 Jun 2013 20:18:58 +0200 Subject: [PATCH] More compact config items by stashing away extra info in tooltips. --- templates/2k11/admin/config_template.tpl | 4 ++-- templates/2k11/admin/media_upload.tpl | 2 +- templates/2k11/admin/plugin_config_item.tpl | 20 ++++++-------------- templates/2k11/admin/style.css | 16 +++++++++++++++- 4 files changed, 24 insertions(+), 18 deletions(-) diff --git a/templates/2k11/admin/config_template.tpl b/templates/2k11/admin/config_template.tpl index 61a4b49d..db5babca 100644 --- a/templates/2k11/admin/config_template.tpl +++ b/templates/2k11/admin/config_template.tpl @@ -20,14 +20,14 @@ {if $item.guessedInput} {if $item.type == 'bool'}
- {$item.title} {$item.description} + {$item.title}{if $item.description} {/if}
{$item.guessedInput}
{else}
- + {$item.guessedInput}
{/if} diff --git a/templates/2k11/admin/media_upload.tpl b/templates/2k11/admin/media_upload.tpl index a6ec6a93..7122bd3d 100644 --- a/templates/2k11/admin/media_upload.tpl +++ b/templates/2k11/admin/media_upload.tpl @@ -19,7 +19,7 @@
- +
diff --git a/templates/2k11/admin/plugin_config_item.tpl b/templates/2k11/admin/plugin_config_item.tpl index e076ed4c..ec2bc4f9 100644 --- a/templates/2k11/admin/plugin_config_item.tpl +++ b/templates/2k11/admin/plugin_config_item.tpl @@ -2,9 +2,7 @@
{elseif $ctype == 'select'}
- + {* Make sure id creation actually produces unique identifiers *}
{elseif (($ctype == 'html') || ($ctype == 'text'))}
- +
@@ -58,9 +52,7 @@ {elseif $ctype == 'media'}
- + {* This should be input[type=file] … *} @@ -71,7 +63,7 @@ {/if}
- {$cname}{if $cdesc != ''} {$cdesc}{/if} + {$cname}{if $cdesc != ''} {/if}