From: Jens T. <je...@us...> - 2003-08-31 23:17:02
|
Update of /cvsroot/gallery/gallery/errors In directory sc8-pr-cvs1:/tmp/cvs-serv18042/errors Modified Files: configmode.php needinit.php reconfigure.php unconfigured.php Log Message: 2003-08-31 Jens Tkotz <je...@pe...> 1.4.1-cvs-b44 * Fixed bug which cause progressbar not to close in IE (fixed by vallimar). * Changed order in configwizard (moved things from step 3 to step 2) * Added separators in step3 * Added $GALLERY_OK and tweaked getStyleSheetLink() to use config.css when $GALLERY_OK == false. * error/* files uses new style too. * tweaked ml_pulldown.inc (removed unnecessary table for flags) * Language Update: Italian (it_IT) , Simplified Chinese (zh_CN) Index: configmode.php =================================================================== RCS file: /cvsroot/gallery/gallery/errors/configmode.php,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- configmode.php 28 Aug 2003 15:05:07 -0000 1.18 +++ configmode.php 31 Aug 2003 23:16:58 -0000 1.19 @@ -17,20 +17,22 @@ <?php echo getStyleSheetLink() ?> </head> <body dir="<?php echo $gallery->direction ?>"> + <center> -<span class="title"> <?php echo _("Gallery: Configuration Mode") ?> </span> -<p> -<table width="80%"><tr><td> -<br> +<div class="header"><?php echo _("Gallery: Configuration Mode") ?></div> + +<p class="sitedesc"> <?php echo sprintf(_("To configure gallery, %sStart the configuration wizard%s"), '<font size=+1> <a href="' . $GALLERY_BASEDIR . 'setup/index.php">', '</a></font>') ?> -</center> -<br> +</p> + +<p> <?php echo _("If you've finished your configuration but you're still seeing this page, that's because for safety's sake we don't let you run Gallery in an insecure mode.") ; echo _("You need to switch to secure mode before you can use it. Here's how:") ?> +</p> <p> <?php echo configure("secure"); ?> @@ -39,7 +41,7 @@ <?php include($GALLERY_BASEDIR . "errors/configure_help.php"); ?> -</table> +</p> </center> </body> </html> Index: needinit.php =================================================================== RCS file: /cvsroot/gallery/gallery/errors/needinit.php,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- needinit.php 28 Aug 2003 15:05:07 -0000 1.17 +++ needinit.php 31 Aug 2003 23:16:58 -0000 1.18 @@ -9,19 +9,22 @@ } ?> <?php - require($GALLERY_BASEDIR . "errors/configure_instructions.php") ?> + require($GALLERY_BASEDIR . "errors/configure_instructions.php"); +?> <html> <head> <title><?php echo _("Gallery is misconfigured") ?></title> <?php echo getStyleSheetLink() ?> </head> <body dir="<?php echo $gallery->direction ?>"> -<center> -<span class="error"> <?php echo _("Uh oh!") ?> </span> -<p> -<table width="80%"><tr><td> + +<div class="header" align="center"><?php echo _("Gallery is misconfigured") ?></div> + +<p class="sitedesc"> + <?php echo _("Gallery is not configured correctly. There could be a variety of reasons for this. The easiest way to fix this problem is to re-run the configuration wizard.") ." "; echo _("First, put Gallery in configuration mode:") ?> +</p> <p> <?php echo configure("configure"); ?> <p> @@ -29,7 +32,7 @@ '<a href="'.$GALLERY_BASEDIR . 'setup/index.php">', '</a>'); ?> <?php include($GALLERY_BASEDIR . "errors/configure_help.php"); ?> -</table> + </center> </body> </html> Index: reconfigure.php =================================================================== RCS file: /cvsroot/gallery/gallery/errors/reconfigure.php,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- reconfigure.php 28 Aug 2003 15:05:07 -0000 1.16 +++ reconfigure.php 31 Aug 2003 23:16:58 -0000 1.17 @@ -18,20 +18,24 @@ <?php echo getStyleSheetLink() ?> </head> <body dir="<?php echo $gallery->direction ?>"> + <center> -<span class="title"> <?php echo _("Gallery needs Reconfiguration") ?> </span> -<p> -<table width=80%><tr><td> -<?php echo _("Your Gallery configuration was created using the config wizard from an older version of Gallery. It is out of date. Please re-run the configuration wizard!") ?> -<?php echo _("In a shell do this") ?>: +<p class="header"><?php echo _("Gallery needs Reconfiguration") ?></p> + +<p class="sitedesc"> + <?php echo _("Your Gallery configuration was created using the config wizard from an older version of Gallery. It is out of date. Please re-run the configuration wizard!") ?> + <?php echo _("In a shell do this") ?>: +</p> + <p> <?php configure("configure"); ?> +</p> + <p> <?php echo sprintf(_("Then launch the %sconfiguration wizard%s"), '<a href="'. $GALLERY_BASEDIR . 'setup/index.php">', '</a>') ?> <?php include($GALLERY_BASEDIR . "errors/configure_help.php"); ?> - -</table> +</p> </center> </body> </html> Index: unconfigured.php =================================================================== RCS file: /cvsroot/gallery/gallery/errors/unconfigured.php,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- unconfigured.php 28 Aug 2003 15:05:07 -0000 1.16 +++ unconfigured.php 31 Aug 2003 23:16:58 -0000 1.17 @@ -17,21 +17,23 @@ <?php echo getStyleSheetLink() ?> </head> <body dir="<?php echo $gallery->direction ?>"> + <center> -<span class="title"> -<?php echo _("Gallery has not been configured!") ?> -</span> -<p> -<center> -<table width="80%"> -<tr><td> -<?php echo _("Gallery must be configured before you can use it. First, you must put it into configuration mode. Here's how."); -echo configure("configure"); ?> +<p class="header"><?php echo _("Gallery has not been configured!") ?></p> + +<p class="sitedesc"> +<?php + echo _("Gallery must be configured before you can use it. First, you must put it into configuration mode. Here's how."); + echo configure("configure"); +?> +</p> + <p> <?php echo sprintf(_("And then start the %sConfiguration Wizard%s."), '<a href="'. $GALLERY_BASEDIR . 'setup/index.php">', '</a>'); -print " "; -include($GALLERY_BASEDIR . "errors/configure_help.php"); ?> -</table> + print " "; + include($GALLERY_BASEDIR . "errors/configure_help.php"); ?> +</p> +</center> </body> </html> |