From 094fc8814f2c8a8e896b4c8bc077847adbc8304c Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 7 Nov 2005 22:54:49 +0000 Subject: - improvement: use a "filter" form for adding user comments. git-svn-id: http://piwigo.org/svn/trunk@924 68402e56-0260-453c-a942-63ccdbb3a9ee --- doc/ChangeLog | 4 ++++ template/yoga/default-layout.css | 16 ++++++++++++++-- template/yoga/picture.tpl | 29 +++++++++++++++++------------ 3 files changed, 35 insertions(+), 14 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index d9f89c30f..c0e7d6cf1 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2005-11-07 Pierrick LE GALL + + * improvement: use a "filter" form for adding user comments. + 2005-11-05 Pierrick LE GALL * bug 186 fixed: useless template theme icons deleted. Remaining diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index 1f501bb0e..dd76aab67 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -144,12 +144,16 @@ FORM.filter FIELDSET LABEL { padding: 0; } -FORM.filter FIELDSET LABEL INPUT, FORM.filter FIELDSET LABEL SELECT { +FORM.filter FIELDSET LABEL INPUT, +FORM.filter FIELDSET LABEL SELECT, +FORM.filter FIELDSET LABEL TEXTAREA { display: block; margin: 0.5em 0; } -FORM.filter FIELDSET P, FORM.filter FIELDSET INPUT { +FORM.filter FIELDSET P, +FORM.filter FIELDSET INPUT, +FORM.filter FIELDSET TEXTAREA { clear: left; display: block; } @@ -247,3 +251,11 @@ BODY#thePopuphelpPage #copyright { color: green; display: none; } + +FORM#addComment FIELDSET LABEL { + clear: both; +} + +FORM#addComment FIELDSET INPUT[type="hidden"] { + display: none; +} \ No newline at end of file diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl index 292505136..7a574b36e 100644 --- a/template/yoga/picture.tpl +++ b/template/yoga/picture.tpl @@ -174,19 +174,24 @@ -

{L_ADD_COMMENT}

-
- -

- - - - -

-

+ +

+ {L_ADD_COMMENT} + + + + + + + + + + + + +
- + -- cgit v1.2.3