From 27de15e07661fdff7a19d3ead990c37efb532c7a Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 18 Mar 2010 22:12:30 +0000 Subject: feature 1519: admin instructions are dispatched into several tabs. Only applied to en_UK and fr_FR. The help content itself needs some updates but it will be another set of commits, in this commit, I nearly only modified the container. The new "Add Photos" help page only introduces you to 3 main ways to add photos: direct upload, pLoader and FTP. Each of them has a dedicated tab on the Admin>Photos>Add screen. No use of the big question mark icon linked to the Help pages in the administration header, to avoid having this icon twice : in the header + in the content next to H2. git-svn-id: http://piwigo.org/svn/trunk@5182 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/theme.css | 5 +- admin/themes/default/default-layout.css | 8 +- admin/themes/default/template/header.tpl | 4 +- admin/themes/default/template/help.tpl | 7 ++ admin/themes/default/template/photos_add_ftp.tpl | 7 ++ .../themes/default/template/photos_add_ploader.tpl | 88 ++++++++++++++++++++++ admin/themes/roma/theme.css | 4 +- 7 files changed, 117 insertions(+), 6 deletions(-) create mode 100644 admin/themes/default/template/help.tpl create mode 100644 admin/themes/default/template/photos_add_ftp.tpl create mode 100644 admin/themes/default/template/photos_add_ploader.tpl (limited to 'admin/themes') diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index 95c78562a..197c7c659 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -209,4 +209,7 @@ html>body #menubar {min-height:477px; height:477px;} /* IE 7 and modern browsers #themesContent H3 {border-bottom:1px solid #aaa;} .themeDefault {background-color:#dbe8f3;} -#pluginsMenuSeparator {border:1px solid #ddd;} \ No newline at end of file +#pluginsMenuSeparator {border:1px solid #ddd;} + +#helpContent A {border-bottom:1px dotted #005E89;} +#helpContent A:hover {border-bottom:1px solid #d54e21;} \ No newline at end of file diff --git a/admin/themes/default/default-layout.css b/admin/themes/default/default-layout.css index 1a8e828ce..671355703 100644 --- a/admin/themes/default/default-layout.css +++ b/admin/themes/default/default-layout.css @@ -540,7 +540,7 @@ ul.holder li.bit-box-focus a.closebutton, ul.holder li.bit-box-focus a.closebutt } #pwgHead { - background-color:#222; + background-color:#464646; height:46px; } @@ -744,4 +744,8 @@ BODY#thePopuphelpPage { h2 { letter-spacing:2px; font-weight:bold;} h2:lang(en) { text-transform:capitalize; } -#pluginsMenuSeparator {width:80%; margin:5px auto;} \ No newline at end of file +#pluginsMenuSeparator {width:80%; margin:5px auto;} + +#helpContent P {text-align:left; margin-left:10px;} +#helpContent LI, #ftpPage LI {margin-top:10px;} +#helpContent P.nextStepLink {text-align:center; font-weight:bold; margin-bottom:20px;} \ No newline at end of file diff --git a/admin/themes/default/template/header.tpl b/admin/themes/default/template/header.tpl index c0fe31a03..7b492aeb1 100644 --- a/admin/themes/default/template/header.tpl +++ b/admin/themes/default/template/header.tpl @@ -48,9 +48,9 @@
Hello {$USERNAME} : Visit Gallery | - Change Theme | + Change Admin Colors | + Help Me | {'Logout'|@translate} - (?)
diff --git a/admin/themes/default/template/help.tpl b/admin/themes/default/template/help.tpl new file mode 100644 index 000000000..399c7466f --- /dev/null +++ b/admin/themes/default/template/help.tpl @@ -0,0 +1,7 @@ +

{'Help'|@translate} » {$HELP_SECTION_TITLE}

+ +
+ +{$HELP_CONTENT} + +
\ No newline at end of file diff --git a/admin/themes/default/template/photos_add_ftp.tpl b/admin/themes/default/template/photos_add_ftp.tpl new file mode 100644 index 000000000..e3902efef --- /dev/null +++ b/admin/themes/default/template/photos_add_ftp.tpl @@ -0,0 +1,7 @@ +
+

{'FTP + Synchronization'|@translate}

+
+ +
+{$FTP_HELP_CONTENT} +
\ No newline at end of file diff --git a/admin/themes/default/template/photos_add_ploader.tpl b/admin/themes/default/template/photos_add_ploader.tpl new file mode 100644 index 000000000..bbff9804e --- /dev/null +++ b/admin/themes/default/template/photos_add_ploader.tpl @@ -0,0 +1,88 @@ +{literal} + + + +{/literal} + +
+

{'Piwigo Uploader'|@translate}

+
+ +
+

pLoader stands for Piwigo Uploader. From your computer, pLoader prepares your photos and transfer them to your Piwigo photo gallery.

+ +
    +
  1. + Download, + + + + +
    + + +
    Windows +
    +
    + + + +
    Mac +
    +
    + + + +
    Linux +
    +
    +
    + +
  2. +
  3. Install on your computer,
  4. +
  5. Start pLoader and add your photos.
  6. +
+
\ No newline at end of file diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 7a19b2be2..af9e47e2a 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -221,4 +221,6 @@ html>body #menubar {min-height:522px; height:522px;} /* IE 7 and modern browsers .themeActions A {border-bottom:none;} .themeDefault {background-color:#555;} -#pluginsMenuSeparator {border:1px solid #333;} \ No newline at end of file +#pluginsMenuSeparator {border:1px solid #333;} + +#helpContent, #pLoaderPage, #ftpPage, #ftpPage LEGEND {color:#aaa;} \ No newline at end of file -- cgit v1.2.3