From e59772b8df1f8528d45bbc548110259f943352ee Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 5 Apr 2006 21:01:05 +0000 Subject: bug fixed: replace obsolet tn_width and tn_height language keys by their new equivalent. improvement: HTML properties forms rewritten to offer labelled Yes/No click on checkboxes. improvement: onblur onfocus attribute used on every HTML properties form. git-svn-id: http://piwigo.org/svn/trunk@1129 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/thumbnail.php | 2 - language/en_UK.iso-8859-1/admin.lang.php | 4 +- language/fr_FR.iso-8859-1/admin.lang.php | 4 +- template/yoga/admin/configuration.tpl | 118 ++++++++++++++++++------------- template/yoga/admin/group_list.tpl | 11 ++- template/yoga/admin/thumbnail.tpl | 32 +++++---- template/yoga/default-layout.css | 7 +- template/yoga/identification.tpl | 24 ++++--- template/yoga/password.tpl | 14 ++-- template/yoga/profile.tpl | 64 +++++++++++------ template/yoga/register.tpl | 16 +++-- 11 files changed, 184 insertions(+), 112 deletions(-) diff --git a/admin/thumbnail.php b/admin/thumbnail.php index d9b01f512..5c0bb0246 100644 --- a/admin/thumbnail.php +++ b/admin/thumbnail.php @@ -170,8 +170,6 @@ $template->assign_vars(array( 'L_RESULTS'=>$lang['tn_results_title'], 'L_PATH'=>$lang['path'], 'L_FILESIZE'=>$lang['filesize'], - 'L_WIDTH'=>$lang['tn_width'], - 'L_HEIGHT'=>$lang['tn_height'], 'L_GENERATED'=>$lang['tn_results_gen_time'], 'L_THUMBNAIL'=>$lang['thumbnail'], 'L_PARAMS'=>$lang['tn_params_title'], diff --git a/language/en_UK.iso-8859-1/admin.lang.php b/language/en_UK.iso-8859-1/admin.lang.php index 47145569b..465aed5a2 100644 --- a/language/en_UK.iso-8859-1/admin.lang.php +++ b/language/en_UK.iso-8859-1/admin.lang.php @@ -247,6 +247,8 @@ $lang['locked'] = 'Locked'; $lang['manage category elements'] = 'manage category elements'; $lang['manage sub-categories'] = 'manage sub-categories'; $lang['manage'] = 'Manage'; +$lang['maximum height'] = 'maximum height'; +$lang['maximum width'] = 'maximum width'; $lang['metadata_basic'] = 'basic'; $lang['metadata_exif'] = 'EXIF'; $lang['metadata_iptc'] = 'IPTC'; @@ -392,7 +394,6 @@ $lang['tn_dirs_title'] = 'Directories list'; $lang['tn_err_height'] = 'height must be a number superior to'; $lang['tn_err_width'] = 'width must be a number superior to'; $lang['tn_format'] = 'for the file format'; -$lang['tn_height'] = 'height'; $lang['tn_no_missing'] = 'No missing thumbnail'; $lang['tn_no_support'] = 'Picture unreachable or no support'; $lang['tn_params_GD'] = 'GD version'; @@ -407,7 +408,6 @@ $lang['tn_stats_min'] = 'min time'; $lang['tn_stats_nb'] = 'number of miniaturized pictures'; $lang['tn_stats_total'] = 'total time'; $lang['tn_thisformat'] = 'for this file format'; -$lang['tn_width'] = 'width'; $lang['unit mode'] = 'unit mode'; $lang['unlocked'] = 'Unlocked'; $lang['unset'] = 'unset'; diff --git a/language/fr_FR.iso-8859-1/admin.lang.php b/language/fr_FR.iso-8859-1/admin.lang.php index 3f32119ec..e29f942e5 100644 --- a/language/fr_FR.iso-8859-1/admin.lang.php +++ b/language/fr_FR.iso-8859-1/admin.lang.php @@ -248,6 +248,8 @@ $lang['locked'] = 'Verrouill $lang['manage category elements'] = 'gérer les éléments de la catégorie'; $lang['manage sub-categories'] = 'gérer les sous-catégories'; $lang['manage'] = 'Gérer'; +$lang['maximum height'] = 'hauteur maximum'; +$lang['maximum width'] = 'largeur maximum'; $lang['metadata_basic'] = 'basique'; $lang['metadata_exif'] = 'EXIF'; $lang['metadata_iptc'] = 'IPTC'; @@ -393,7 +395,6 @@ $lang['tn_dirs_title'] = 'Liste des r $lang['tn_err_height'] = 'la hauteur doit un entier supérieur à'; $lang['tn_err_width'] = 'la largeur doit être un entier supérieur à'; $lang['tn_format'] = 'pour le format de fichier'; -$lang['tn_height'] = 'hauteur'; $lang['tn_no_missing'] = 'Aucune miniature ne manque'; $lang['tn_no_support'] = 'Image innaccessible ou non supportée'; $lang['tn_params_GD'] = 'version de GD'; @@ -408,7 +409,6 @@ $lang['tn_stats_min'] = 'temps minimal'; $lang['tn_stats_nb'] = 'nombre de miniatures créées'; $lang['tn_stats_total'] = 'temps total'; $lang['tn_thisformat'] = 'pour ce format de fichier'; -$lang['tn_width'] = 'largeur'; $lang['unit mode'] = 'mode unitaire'; $lang['unlocked'] = 'déverrouillée'; $lang['unset'] = 'vider'; diff --git a/template/yoga/admin/configuration.tpl b/template/yoga/admin/configuration.tpl index fb9b0f590..a0578692d 100644 --- a/template/yoga/admin/configuration.tpl +++ b/template/yoga/admin/configuration.tpl @@ -14,44 +14,48 @@ - - @@ -61,20 +65,22 @@ @@ -83,8 +89,10 @@ diff --git a/template/yoga/admin/group_list.tpl b/template/yoga/admin/group_list.tpl index 389bc1071..7b7dd67eb 100644 --- a/template/yoga/admin/group_list.tpl +++ b/template/yoga/admin/group_list.tpl @@ -4,8 +4,15 @@
{lang:Add group} - -

+ + + + + + +

+ +

diff --git a/template/yoga/admin/thumbnail.tpl b/template/yoga/admin/thumbnail.tpl index cd461be59..cf5345d43 100644 --- a/template/yoga/admin/thumbnail.tpl +++ b/template/yoga/admin/thumbnail.tpl @@ -65,27 +65,35 @@ diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index 85f9f774b..d8f70bfb6 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -179,7 +179,8 @@ FORM.properties LI, FORM#update UL { line-height: 1.8em; } -FORM.properties LABEL { +FORM.properties SPAN.property { + font-weight: bold; float: left; width: 50%; text-align: right; @@ -187,10 +188,6 @@ FORM.properties LABEL { padding: 0 0.5em 0 0; } -FORM.properties LABEL.mandatory { - font-weight: bold; -} - FORM.properties .focus { background-color: whitesmoke; } diff --git a/template/yoga/identification.tpl b/template/yoga/identification.tpl index e8d02f05b..8f28ac224 100644 --- a/template/yoga/identification.tpl +++ b/template/yoga/identification.tpl @@ -23,28 +23,36 @@
{lang:Connection settings} - + + +
  • - - + + + +
  • - - + + + +
  • - - + + + +
-

+

diff --git a/template/yoga/password.tpl b/template/yoga/password.tpl index 081722cc1..f581507e2 100644 --- a/template/yoga/password.tpl +++ b/template/yoga/password.tpl @@ -33,14 +33,18 @@ {lang:Retrieve password}

diff --git a/template/yoga/profile.tpl b/template/yoga/profile.tpl index 5233e49bb..3cfece113 100644 --- a/template/yoga/profile.tpl +++ b/template/yoga/profile.tpl @@ -26,27 +26,35 @@ @@ -57,20 +65,26 @@