From a891960d5a9ac504a173520f4604e6740c58493b Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 27 Aug 2005 00:24:31 +0000 Subject: (not in ChangeLog) - adds PHPWG_ROOT_PATH to form action in identification.php - adds link to home on identification.php - avoid using language_select and template_select in profile.php (maybe these functions becom obsolete) - [template cclear] solution #3 from http://forum.phpwebgallery.net/viewtopic.php?pid=21443#p21443 : adds the fix on min-height. - [template cclear] new FORM class : properties. Used in identification, profile, register. - [template cclear] deletion of now useless DIV.formbox - [template cclear] footer update : link to phpwebgallery website and not pierrick email. git-svn-id: http://piwigo.org/svn/trunk@854 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/cclear/content.css | 1 + template/cclear/default-layout.css | 36 +++++++- template/cclear/footer.tpl | 2 +- template/cclear/identification.tpl | 45 ++++++---- template/cclear/profile.tpl | 179 +++++++++++++++++++++++-------------- template/cclear/register.tpl | 32 +++++-- 6 files changed, 198 insertions(+), 97 deletions(-) (limited to 'template/cclear') diff --git a/template/cclear/content.css b/template/cclear/content.css index 7fcaf4b6a..8589c4520 100644 --- a/template/cclear/content.css +++ b/template/cclear/content.css @@ -132,6 +132,7 @@ ul.categoryActions { #content DIV.comment { margin: 5px; border: 1px solid gray; + min-height: 150px; /* maximum thumbnail height */ } #content DIV.comment > A.illustration { diff --git a/template/cclear/default-layout.css b/template/cclear/default-layout.css index 36d1f3249..33adf19e8 100644 --- a/template/cclear/default-layout.css +++ b/template/cclear/default-layout.css @@ -63,10 +63,6 @@ ul, dl, li { text-align: left;} pre { text-align:left; } /** forms **/ -div.formbox { - width: 70%; - margin: 0 auto 1em auto; -} form { padding: 0em; } @@ -211,6 +207,38 @@ FORM.filter INPUT[type="submit"] { margin-top: 1em; } +FORM.properties UL { + list-style-type: none; + margin: 0; + padding: 0; +} + +FORM.properties LI { + margin-bottom: 0.5em; + padding: 0; + line-height: 1.8em; +} + +FORM.properties LABEL { + float: left; + width: 50%; + text-align: right; + margin: 0; + padding: 0 0.5em 0 0; +} + +FORM.properties LABEL.mandatory { + font-weight: bold; +} + +FORM.properties .focus { + background-color: whitesmoke; +} + +FORM.properties .nofocus { + background-color: lightgrey; /* must be the same as input background-color */ +} + FIELDSET.elementEdit A { display: block; float: right; diff --git a/template/cclear/footer.tpl b/template/cclear/footer.tpl index 7ebbeeeb0..ea92324d8 100644 --- a/template/cclear/footer.tpl +++ b/template/cclear/footer.tpl @@ -4,7 +4,7 @@ {L_POWERED_BY} PhpWebGallery diff --git a/template/cclear/identification.tpl b/template/cclear/identification.tpl index 8b0201834..233b338de 100644 --- a/template/cclear/identification.tpl +++ b/template/cclear/identification.tpl @@ -3,14 +3,12 @@

{lang:Identification}

-
-
    @@ -20,19 +18,36 @@
-
-
{L_USERNAME}:
-
-
{L_PASSWORD}:
-
- -
{L_REMEMBER_ME}:
-
- -
+ + +
+ {lang:Connection settings} + +
    +
  • + + +
  • + +
  • + + +
  • + + +
  • + + +
  • + +
+
+

- {L_REGISTER} -
+ +

+ {L_REGISTER} +

diff --git a/template/cclear/profile.tpl b/template/cclear/profile.tpl index 76fe2dba6..08983b91b 100644 --- a/template/cclear/profile.tpl +++ b/template/cclear/profile.tpl @@ -1,3 +1,5 @@ +
+
    @@ -8,73 +10,113 @@
-

{L_TITLE}

- -
-
- -

- -

{L_REGISTRATION_INFO}

-
-
{L_USERNAME}
-
{USERNAME}
-
{L_EMAIL}
-
-
-
-
{L_CURRENT_PASSWORD} :
{L_CURRENT_PASSWORD_HINT}
-
-
-
-
{L_NEW_PASSWORD} :
{L_NEW_PASSWORD_HINT}
-
-
-
-
{L_CONFIRM_PASSWORD} :
{L_CONFIRM_PASSWORD_HINT}
-
-
-

{L_PREFERENCES}

-
-
{L_NB_IMAGE_LINE}
-
- -
-
{L_NB_ROW_PAGE}
-
- -
-
{L_STYLE_SELECT}
-
- {STYLE_SELECT} -
-
{L_LANG_SELECT}
-
- {LANG_SELECT} -
-
{L_RECENT_PERIOD}
-
- -
-
{L_EXPAND_TREE}
-
- {L_YES}   - {L_NO} -
-
{L_NB_COMMENTS}
-
- {L_YES}   - {L_NO} -
-
{L_MAXWIDTH}
-
- -
-
{L_MAXHEIGHT}
-
- -
-
+
+
    +
  • {lang:home}
  • +
+

{lang:Profile}

+
+ + + + + +
+ {L_REGISTRATION_INFO} + +
    +
  • + + {USERNAME} +
  • + +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • +
+
+ +
+ {L_PREFERENCES} + +
    +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • + +
  • + + {L_YES} + {L_NO} +
  • + +
  • + + {L_YES} + {L_NO} +
  • + +
  • + + +
  • + +
  • + + +
  • +
+

@@ -83,5 +125,4 @@

-

[{L_RETURN}]

-
+
diff --git a/template/cclear/register.tpl b/template/cclear/register.tpl index c696bfe8b..3b39fcbf2 100644 --- a/template/cclear/register.tpl +++ b/template/cclear/register.tpl @@ -9,9 +9,6 @@

{lang:Registration}

- - -
-
+
{lang:Enter your personnal informations} - - - - +
    +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • + +
  • + + +
  • +
+

+

-- cgit v1.2.3