diff -Naur gallery-1.5.4/administer_startpage.php gallery-1.5.5/administer_startpage.php
--- gallery-1.5.4/administer_startpage.php	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/administer_startpage.php	2006-11-12 10:19:06.000000000 +0100
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: administer_startpage.php 13338 2006-03-27 15:32:14Z jenst $
+ * $Id: administer_startpage.php 15164 2006-11-12 09:19:06Z jenst $
  *
  */
 ?>
@@ -37,11 +37,11 @@
 $adminOptions[] = array(
     'text' => _("Rebuild highlights"),
     'url' =>  doCommand('rebuild_highlights'),
-    'longtext' => _("Recreate all highlights according to the setting in configwizard.<br>(Starts immediately)")
+    'longtext' => _("Recreate all highlights according to the setting in Config Wizard.<br>(Starts immediately)")
 );
 
 $adminOptions[] = array(
-    'text' => _("Albumorder"),
+    'text' => _("Album Order"),
     'url' => makeGalleryUrl('administer_startpage.php', array('sort' => 1, 'type' => 'popup')),
     'longtext' => _("Sort the albums on the startpage(s).<br>(Opens an option dialog)")
 );
@@ -51,7 +51,7 @@
 $sortOptions = array(
     'name'          => _("By (physical) name"),
     'clicks_date'   => _("By last reset date"),
-    'creation_date' => _("By creation date (works only with albums created with 1.5.2-cvs-b28 or newer)")
+    'creation_date' => _("By creation date (works only with albums created with 1.5.2 or newer)")
 );
 
 doctype();
diff -Naur gallery-1.5.4/album_permissions.php gallery-1.5.5/album_permissions.php
--- gallery-1.5.4/album_permissions.php	2006-04-11 00:19:30.000000000 +0200
+++ gallery-1.5.5/album_permissions.php	2006-10-12 23:30:11.000000000 +0200
@@ -2,22 +2,22 @@
 /*
  * Gallery - a web based photo album viewer and editor
  * Copyright (C) 2000-2006 Bharat Mediratta
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or (at
  * your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: album_permissions.php 13433 2006-04-10 22:19:30Z jenst $
+ * $Id: album_permissions.php 14800 2006-10-12 21:30:11Z jenst $
  */
 ?>
 <?php
@@ -28,7 +28,7 @@
 	getRequestVar(array('save', 'ownerUid', 'submit', 'actionUid'));
 
 // Hack check
-if (!$gallery->user->isAdmin() && 
+if (!$gallery->user->isAdmin() &&
     !$gallery->user->isOwnerOfAlbum($gallery->album)) {
 	echo _("You are not allowed to perform this action!");
 	exit;
@@ -140,7 +140,7 @@
 foreach($perms as $perm => $permDesc) {
     $permsTable->addElement(array('content' => $permDesc, 'cellArgs' => array('colspan' => 2)));
     $permsTable->addElement(
-	   array('content' => 
+	   array('content' =>
 	    "\n\t<input type=\"submit\" name=\"submit[$perm]\" value=\"-->\"><br>".
 	    "\n\t<input type=\"submit\" name=\"submit[$perm]\" value=\"<--\">"
 	));
@@ -149,7 +149,7 @@
     );
 }
 echo $permsTable->render();
-?>    
+?>
   </td>
  </tr>
 </table>
diff -Naur gallery-1.5.4/albums.php gallery-1.5.5/albums.php
--- gallery-1.5.4/albums.php	2006-04-05 00:13:34.000000000 +0200
+++ gallery-1.5.5/albums.php	2006-09-11 01:54:55.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: albums.php 13362 2006-04-04 22:13:34Z jenst $
+ * $Id: albums.php 14503 2006-09-10 23:54:55Z jenst $
  */
 ?>
 <?php
@@ -86,33 +86,42 @@
 $displayCommentLegend = 0;  // this determines if we display "* Item contains a comment" at end of page
 
 if (!$GALLERY_EMBEDDED_INSIDE) {
-	doctype();
+    $title = htmlspecialchars($gallery->app->galleryTitle);
+
+    doctype();
 ?>
 <html>
 <head>
-  <title><?php echo $gallery->app->galleryTitle ?></title>
+  <title><?php echo $title ?></title>
   <?php
 	common_header() ;
 
 	/* prefetching/navigation */
-    if ($navigator['page'] > 1) { ?>
-  <link rel="top" href="<?php echo makeGalleryUrl('albums.php', array('set_albumListPage' => 1)) ?>">
-  <link rel="first" href="<?php echo makeGalleryUrl('albums.php', array('set_albumListPage' => 1)) ?>">
-  <link rel="prev" href="<?php echo makeGalleryUrl('albums.php', array('set_albumListPage' => $navigator['page']-1)) ?>">
+	$topUrl  = makeGalleryUrl('albums.php', array('set_albumListPage' => 1));
+    $firstUrl = makeGalleryUrl('albums.php',array('set_albumListPage' => 1));
+	$prevUrl = makeGalleryUrl('albums.php', array('set_albumListPage' => $navigator['page']-1));
+	$nextUrl = makeGalleryUrl('albums.php', array('set_albumListPage' => $navigator['page']+1));
+	$lastUrl = makeGalleryUrl('albums.php', array('set_albumListPage' => $maxPages));
+
+	if ($navigator['page'] > 1) {
+?>
+  <link rel="top" href="<?php echo $topUrl ?>">
+  <link rel="first" href="<?php echo $firstUrl ?>">
+  <link rel="prev" href="<?php echo  $prevUrl?>">
 <?php
     }
     if ($navigator['page'] < $maxPages) { ?>
-  <link rel="next" href="<?php echo makeGalleryUrl('albums.php', array('set_albumListPage' => $navigator['page']+1)) ?>">
-  <link rel="last" href="<?php echo makeGalleryUrl('albums.php', array('set_albumListPage' => $maxPages)) ?>">
+  <link rel="next" href="<?php echo $nextUrl ?>">
+  <link rel="last" href="<?php echo $lastUrl?>">
 <?php
     }
     if ($gallery->app->rssEnabled == "yes" && !$gallery->session->offline) {
-    	$title = sprintf(gTranslate('core', "%s RSS"), $gallery->app->galleryTitle);
-    	$rssHref = $gallery->app->photoAlbumURL . "/rss.php"
+    	$rssTitle = sprintf(gTranslate('core', "%s RSS"), $title);
+    	$rssHref = $gallery->app->photoAlbumURL . "/rss.php";
+
+        echo "<link rel=\"alternate\" title=\"$rssTitle\" href=\"$rssHref\" type=\"application/rss+xml\">";
+    }
 ?>
-  <link rel="alternate" title="<?php echo $title?>" href="<?php echo $rssHref ?>" type="application/rss+xml">
-<?php
-    } ?>
 </head>
 <body dir="<?php echo $gallery->direction ?>">
 <?php
@@ -121,7 +130,7 @@
 includeHtmlWrap("gallery.header");
 
 if (!$gallery->session->offline &&
-  ( ($gallery->app->showSearchEngine == 'yes' && $numPhotos != 0) || 
+  ( ($gallery->app->showSearchEngine == 'yes' && $numPhotos != 0) ||
   $GALLERY_EMBEDDED_INSIDE == 'phpBB2')) {
 ?>
 <table width="100%" border="0" cellspacing="0" style="margin-bottom:2px">
@@ -192,26 +201,26 @@
 
 if ($gallery->user->isLoggedIn() && !$gallery->session->offline) {
     if ($gallery->user->isAdmin()) {
-        
+
         $iconText = getIconText('unsortedList.gif', gTranslate('core', "Administer startpage"));
         $linkurl = makeGalleryUrl('administer_startpage.php', array('type' => 'popup'));
         $iconElements[] = popup_link($iconText, $linkurl, true);
-        
+
         $iconText = getIconText('kdf.gif', gTranslate('core', "admin page"));
         $iconElements[] = '<a href="'. makeGalleryUrl('admin-page.php') .'">'. $iconText .'</a> ';
-         
+
         $docsUrl = galleryDocs('admin');
         if ($docsUrl) {
             $iconText = getIconText('info.gif', gTranslate('core', "documentation"));
             $iconElements[] = "<a href=\"$docsUrl\">". $iconText .'</a>';
         }
     }
-    
+
     if ($gallery->userDB->canModifyUser()) {
         $iconText = getIconText('yast_sysadmin.gif', gTranslate('core', "preferences"));
         $iconElements[] = popup_link($iconText, "user_preferences.php", false, true, 500, 500);
     }
-    
+
     if (!$GALLERY_EMBEDDED_INSIDE) {
         $iconText = getIconText('exit.gif', gTranslate('core', "logout"));
         $iconElements[] = '<a href="'. doCommand("logout", array(), "albums.php") .'">'. $iconText .'</a>';
@@ -351,7 +360,7 @@
 			echo editField($gallery->album, "title", $albumURL);
 			if ($gallery->user->canDownloadAlbum($gallery->album) && $gallery->album->numPhotos(1)) {
 			    $iconText = getIconText('compressed.png', gTranslate('core', "Download entire album as archive"), 'yes');
-			    echo popup_link($iconText, "download.php?set_albumName=$tmpAlbumName",false,false,500,500); 
+			    echo popup_link($iconText, "download.php?set_albumName=$tmpAlbumName",false,false,500,500);
 			}
 		?>
               </td>
@@ -414,7 +423,7 @@
 	}
 
 	echo "\n<br><span class=\"fineprint\">";
-	
+
 	/*
 	* Created / Last Changed
 	*/
@@ -426,7 +435,7 @@
 	else {
 		printf(gTranslate('core', "Last changed on %s."), $lastModifiedDate);
 	}
-	
+
 	/*
 	* Amount of items
 	*/
@@ -434,13 +443,13 @@
 	list($visibleItems) = $gallery->album->numItems($gallery->user, true);
 
 	echo gTranslate('core', "This album contains 1 item.", "This album contains %d items.", $visibleItems);
-	
+
 	/*
 	* Click counter + reset for it
 	*/
 	if (!($gallery->album->fields["display_clicks"] == "no") && !$gallery->session->offline) {
 		$clickCount = $gallery->album->getClicks();
-		
+
 		echo "\n<br>";
 		printf(gTranslate('core', "This album has been viewed %s since %s."),
 		  gTranslate('core', "1 time", "%d times", $clickCount, gTranslate('core', "0 times")),
@@ -451,7 +460,7 @@
 	(!($gallery->album->fields["display_clicks"] == "no"))) {
 		echo " ".popup_link("[" . gTranslate('core', "reset counter") ."]", doCommand("reset-album-clicks", array("set_albumName" => $albumName), "albums.php"), 1);
 	}
-	
+
 	/*
 	* Comment Indicator
 	*/
@@ -468,7 +477,7 @@
 	echo "\n</span>";
 
 	// End Album Infos
- 
+
  // Start tree
     if ( isset($gallery->app->albumTreeDepth) && $gallery->app->albumTreeDepth > 0)
 	if (isset($gallery->app->microTree) && $gallery->app->microTree == 'yes') { ?>
diff -Naur gallery-1.5.4/ChangeLog gallery-1.5.5/ChangeLog
--- gallery-1.5.4/ChangeLog	2006-08-15 14:00:40.000000000 +0200
+++ gallery-1.5.5/ChangeLog	2006-11-12 18:29:56.000000000 +0100
@@ -1,16 +1,141 @@
-2006-08-15 Jens Tkotz <jens@peino.de>
+2006-11-122 Chris Kelly <ckdake@ckdake.com> 1.5.5
 
- *** Re-Release 1.5.4 ***
+* Release: 1.5.5
 
- * Forgot tools folder.
+2006-11-12 Jens Tkotz <jens@peino.de> 1.5.5-svn-b21
 
- * Fixed very litle bug sneaked in b15.
+ * Fix: Little CSS issue in config wizard.
+
+ * Fix: More Typos.
+
+2006-11-12 Jens Tkotz <jens@peino.de> 1.5.5-svn-b20
+
+ * Fix: Vertical Flip was broken in rotate/flip dialog.
+
+ * Fix: Typos.
+
+   Thanks to C.M. aka H.P.
+
+2006-11-12 Jens Tkotz <jens@peino.de> 1.5.5-svn-b19
+
+ * Fix: Embedded slideshow in low mode.
+
+ * Change: Added class "g-photo" around every thumb and photo.
+	   So its easier controllable via CSS.
+
+ * Change: Make textarea in edit_field a little bigger.
+
+2006-10-12 Jens Tkotz <jens@peino.de> 1.5.5-svn-b18
+
+ * Reverted b17 Change
+
+ * Change: removed unneeded $gallery->align from lib/lang.php
+
+ * Use of gTranslate at some places.
+
+2006-10-12 Jens Tkotz <jens@peino.de> 1.5.5-svn-b16
+
+* Fix: #1487824, allow negative alignment for watermark.
+
+2006-10-12 Jens Tkotz <jens@peino.de> 1.5.5-svn-b15
+
+ * Fix: #1299913 ; $_REQUEST['name'] is now NOT longer an indicator for
+                   being embedded.
+
+2006-10-10 Jens Tkotz <jens@peino.de> 1.5.5-svn-b14
+
+ * Change: Better failure handling for eCards.
+
+ * Fix: eCard preview did not work embedded.
+
+2006-09-28 Jens Tkotz <jens@peino.de> 1.5.5-svn-b13
+
+ * Fix: The preference for normal/full when browsing an album was broken since Gallery 1.5.2
+   Thanks to mg66 from forums.
+
+2006-09-16 Jens Tkotz <jens@peino.de> 1.5.5-svn-b12
+
+ * Fix/Change: lib/lang.php
+    - initlanguage() was called to late in init.php.
+      This results in a Call to undefined function: _() 
+
+    - Added second param $userlanguage to initlanguage()
+      If this is set a reinit is forced.
+
+    - Check in init.php for user language if this is different then
+      already initialized $gallery->language, do a reinit.
+
+    - Enhanced the emulation of gettext and ngettext to adjust with possible reinit.
+
+2006-09-16 Jens Tkotz <jens@peino.de> 1.5.5-svn-b11
+
+ * Update: wz_tooltip.js    v. 3.38
+
+ * Update: wz_jsgraphics.js    v. 2.36
+
+2006-09-11 Jens Tkotz <jens@peino.de> 1.5.5-svn-b10
+
+ * Fix: Use htmlspecialchars() also in <title>..</title>
+
+2006-09-11 Jens Tkotz <jens@peino.de> 1.5.5-svn-b9
+
+ * Fix: Use htmlspecialchars() in <link rel="alternate" ...>
+	to avoid problems with links in album and Gallery title.
+
+2006-09-11 Jens Tkotz <jens@peino.de> 1.5.5-svn-b8
+
+ * Fix: If magic_quotes are On, stripslashes were called after sanitizing
+	the input.
+	This results in the fact that links in input with quotes were not
+	regocnized.
+
+ * Fix: Use stripslashes_deep() on Input.
+
+2006-09-08 Jens Tkotz <jens@peino.de> 1.5.5-svn-b7
+
+ * Change: Enhanced wording in config.
+
+ * Fix: Little CSS for for .g-littlered.
+
+2006-09-08 Jens Tkotz <jens@peino.de> 1.5.5-svn-b6
+
+ * Fix: Added additional --keyword in xgettext calls to support gettext 0.15
+
+2006-09-04 Jens Tkotz <jens@peino.de> 1.5.5-svn-b5
+
+ * Fix: Preloading fix from b1 was not fully correct.
+
+ * Change: centered photo and navigation when embedded.
+
+ * Fix: HTML fix in ecard form.
+
+2006-09-04 Jens Tkotz <jens@peino.de> 1.5.5-svn-b4
+
+ * Fix: Shadow frame files were corrupted ?!?
+
+2006-09-02 Jens Tkotz <jens@peino.de> 1.5.5-svn-b3
+
+ * Fix: Fix for next Tab in b1 was not fully correct.
+
+2006-09-02 Jens Tkotz <jens@peino.de> 1.5.5-svn-b2
+ 
+ * Fix: Link to colorpicker was broken.
+        (Thanks to chasba from IRC)
+
+2006-09-02 Jens Tkotz <jens@peino.de> 1.5.5-svn-b1
+
+ * Fix: Font color issue in multifile Js
+
+ * Fix: "next tab" was broken in Config
+
+ * Fix: Preloading feature in FF does not increase the counter
+	in view_album and view_photo.
+	(Thanks to Jade)
 
 2006-08-14 Jens Tkotz <jens@peino.de>
 
  ***  Release: 1.5.4 ***
 
-
 2006-08-14 Jens Tkotz <jens@peino.de> 1.5.4-svn-b17
 
  * Fix: #1444556;
diff -Naur gallery-1.5.4/classes/Mail/htmlMimeMail.php gallery-1.5.5/classes/Mail/htmlMimeMail.php
--- gallery-1.5.4/classes/Mail/htmlMimeMail.php	2006-06-19 14:04:01.000000000 +0200
+++ gallery-1.5.5/classes/Mail/htmlMimeMail.php	2006-06-19 14:04:01.000000000 +0200
@@ -7,7 +7,7 @@
 /**
  * Filename.......: class.html.mime.mail.inc
  * Project........: HTML Mime mail class
- * Last Modified..: $Date: 2006-06-19 14:04:01 +0200 (Mon, 19 Jun 2006) $
+ * Last Modified..: $Date: 2006-06-19 08:04:01 -0400 (Mon, 19 Jun 2006) $
  * CVS Revision...: $Revision: 13848 $
  * Copyright......: 2001, 2002 Richard Heyes
  * @package Mail
diff -Naur gallery-1.5.4/css/base.css.default gallery-1.5.5/css/base.css.default
--- gallery-1.5.4/css/base.css.default	2006-08-14 09:41:08.000000000 +0200
+++ gallery-1.5.5/css/base.css.default	2006-09-09 21:13:40.000000000 +0200
@@ -11,7 +11,7 @@
    Some of the styles below are overridden by specific
    album properties.
 
-   $Id: base.css.default 14310 2006-08-14 07:41:08Z jenst $
+   $Id: base.css.default 14491 2006-09-09 19:13:40Z jenst $
 */
 
 
@@ -184,6 +184,10 @@
     margin-bottom: 10px;
 }
 
+.modnavboxthumbs td, .modnavbox td{
+  text-align: center;
+}
+
 .nav                            /* used in navigation bars */
 	{
 	  font-size: 12px;
@@ -338,10 +342,6 @@
 .popup td {
 }
 
-.popup {
-    color: #FFF;
-}
-
 /* CSS ID for the add photos popup */
 
 #container {
@@ -457,7 +457,7 @@
     margin-bottom: 5px;
 }
 
-.littlered {
+.littlered, .g-littlered {
     font-size: 10px;
     color:red;
     vertical-align:top;
diff -Naur gallery-1.5.4/css/config.css.default gallery-1.5.5/css/config.css.default
--- gallery-1.5.4/css/config.css.default	2006-08-14 09:41:08.000000000 +0200
+++ gallery-1.5.5/css/config.css.default	2006-11-12 10:19:06.000000000 +0100
@@ -1,5 +1,5 @@
 /*
-  $Id: config.css.default 14310 2006-08-14 07:41:08Z jenst $
+  $Id: config.css.default 15164 2006-11-12 09:19:06Z jenst $
 
   Gallery - a web based photo album viewer and editor
   Copyright (C) 2000-2006 Bharat Mediratta
@@ -105,7 +105,8 @@
     background-color: #9191FF; color:#FFFFFF;
     padding:2px;
     width: 60%;
-    margin-top: -10px; margin-bottom: 5px;
+    margin-top: 1px;
+    margin-bottom: 5px;
 }
 
 .inner {
@@ -138,8 +139,11 @@
 a:visited,
 a:hover		{ color: #409D27;
 		}
-.littlered	{ font-size: 10px; color:red; vertical-align:top;
-		}
+.littlered, .g-littlered {
+    font-size: 10px;
+    color:red;
+    vertical-align:top;
+}
 
 .g-tabset {
     width: 100%;
diff -Naur gallery-1.5.4/css/screen.css.default gallery-1.5.5/css/screen.css.default
--- gallery-1.5.4/css/screen.css.default	2006-08-14 09:41:08.000000000 +0200
+++ gallery-1.5.5/css/screen.css.default	2006-09-16 01:21:56.000000000 +0200
@@ -13,7 +13,7 @@
    Some of the styles below are overriden by specific
    album properties. These are noted
 
-   $Id: screen.css.default 14310 2006-08-14 07:41:08Z jenst $
+   $Id: screen.css.default 14534 2006-09-15 23:21:56Z jenst $
 */
 
 
@@ -58,10 +58,6 @@
     color: #000000;
 }
 
-.popup {
-    color: #FFFFFF;
-}
-
 textarea:focus, input:focus {
     background-color: #FFFFDA;
 }
diff -Naur gallery-1.5.4/docs/g1package/gallery1-install.faq.a.html gallery-1.5.5/docs/g1package/gallery1-install.faq.a.html
--- gallery-1.5.4/docs/g1package/gallery1-install.faq.a.html	2006-08-15 14:21:29.000000000 +0200
+++ gallery-1.5.5/docs/g1package/gallery1-install.faq.a.html	2006-11-12 18:36:48.000000000 +0100
@@ -2,7 +2,7 @@
        How can I get the latest version of Gallery?
       </a></dt><dt>A.2. <a href="gallery1-install.faq.a.html#gallery1-install.faq.a.2">
        How can I get the latest CVS version of Gallery?
-      </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.a.1"></a><a name="id307941"></a><b>A.1.</b></td><td align="left" valign="top"><p>
+      </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.a.1"></a><a name="id2523346"></a><b>A.1.</b></td><td align="left" valign="top"><p>
        How can I get the latest version of Gallery?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        There are two different 'latest' versions of Gallery. There is the version
@@ -14,7 +14,7 @@
        more current bugfixes and neat modifications. The version in CVS is
        typically pretty stable, since the developers use it to power their own
        personal Galleries, but it is bound to have the occasional major glitch.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.a.2"></a><a name="id307970"></a><b>A.2.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.a.2"></a><a name="id2525829"></a><b>A.2.</b></td><td align="left" valign="top"><p>
        How can I get the latest CVS version of Gallery?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        The CVS binaries are a prerequisite. You can get them from cvshome.org.
diff -Naur gallery-1.5.4/docs/g1package/gallery1-install.faq.b.html gallery-1.5.5/docs/g1package/gallery1-install.faq.b.html
--- gallery-1.5.4/docs/g1package/gallery1-install.faq.b.html	2006-08-15 14:21:29.000000000 +0200
+++ gallery-1.5.5/docs/g1package/gallery1-install.faq.b.html	2006-11-12 18:36:48.000000000 +0100
@@ -10,7 +10,7 @@
       </a></dt><dt>B.5. <a href="gallery1-install.faq.b.html#gallery1-install.faq.b.5">
        Where can I find the unzip and zipinfo
        binaries?
-      </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.1"></a><a name="id308057"></a><b>B.1.</b></td><td align="left" valign="top"><p>
+      </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.1"></a><a name="id2525916"></a><b>B.1.</b></td><td align="left" valign="top"><p>
        The setup page tells me that mod_rewrite is not installed. Since mod_rewrite is
        optional, how do I configure this option?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -25,13 +25,13 @@
        For more information on mod_rewrite check out the
        <a href="http://httpd.apache.org/docs/mod/mod_rewrite.html" target="_top">Apache
        module mod_rewrite</a> page.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.2"></a><a name="id308097"></a><b>B.2.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.2"></a><a name="id2525960"></a><b>B.2.</b></td><td align="left" valign="top"><p>
        Does Gallery work under Windows?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        Many people have gotten Gallery to work under Windows using Apache.  However,
        Gallery does not interact well with IIS, because PHP still has some issues
        with executing programs like NetPBM and ImageMagick.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.3"></a><a name="id308122"></a><b>B.3.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.3"></a><a name="id2525985"></a><b>B.3.</b></td><td align="left" valign="top"><p>
        How do I run PHP as a CGI?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        Running PHP as a CGI is usually done when PHP is not available on your
@@ -79,7 +79,7 @@
        directory.  <span class="emphasis"><em>It is extremely difficult to provide support for
        this, because there are many things that can go wrong and it's hard to
        diagnose the problem.</em></span>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.4"></a><a name="id308328"></a><b>B.4.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.4"></a><a name="id2526192"></a><b>B.4.</b></td><td align="left" valign="top"><p>
        How do I force .php files to use PHP4?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        In the rare case that your ISP has PHP3 and PHP4 installed on the same server,
@@ -91,7 +91,7 @@
          ForceType application/x-httpd-php
         &lt;/Files&gt;
        </pre><p>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.5"></a><a name="id308368"></a><b>B.5.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.b.5"></a><a name="id2526233"></a><b>B.5.</b></td><td align="left" valign="top"><p>
        Where can I find the <span><b class="command">unzip</b></span> and <span><b class="command">zipinfo</b></span>
        binaries?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
diff -Naur gallery-1.5.4/docs/g1package/gallery1-install.faq.c.html gallery-1.5.5/docs/g1package/gallery1-install.faq.c.html
--- gallery-1.5.4/docs/g1package/gallery1-install.faq.c.html	2006-08-15 14:21:30.000000000 +0200
+++ gallery-1.5.5/docs/g1package/gallery1-install.faq.c.html	2006-11-12 18:36:49.000000000 +0100
@@ -116,7 +116,7 @@
       </a></dt><dt>C.42. <a href="gallery1-install.faq.c.html#gallery1-install.faq.c.42">
        When I open Gallery inside Mambo, i get "Gallery seems to be inside Mambo, but we couldn't get the necessary info."
        What am i or my visitors doing wrong?
-      </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.1"></a><a name="id308440"></a><b>C.1.</b></td><td align="left" valign="top"><p>
+      </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.1"></a><a name="id2526304"></a><b>C.1.</b></td><td align="left" valign="top"><p>
        When I try to access the configuration wizard, I get a <tt class="literal">500
        Internal Server Error</tt>.  What's up?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -134,7 +134,7 @@
        If you don't have access to your <tt class="filename">httpd.conf</tt>, delete
        the <tt class="filename">.htaccess</tt> file in the <tt class="filename">setup/</tt>
        directory.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.2"></a><a name="id308529"></a><b>C.2.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.2"></a><a name="id2526391"></a><b>C.2.</b></td><td align="left" valign="top"><p>
        I've installed Gallery and all seems well. But when I try to upload an
        image it says <tt class="literal">Unable to make thumbnail(0)</tt> or 
        <tt class="literal">Invalid image</tt>. What gives?
@@ -215,7 +215,7 @@
         </p></li></ul></div><p>
        If you still can't find a solution, try asking in the <a href="http://gallery.sf.net/forums.php" target="_top">
        Gallery Support Forums</a>.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.3"></a><a name="id308806"></a><b>C.3.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.3"></a><a name="id2526679"></a><b>C.3.</b></td><td align="left" valign="top"><p>
        My ISP has a really old version of PHP, something before 4.0.4pl1, which
        Gallery can't work with.  What do I do?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -224,14 +224,14 @@
        probably contains security problems.  Your only other good option is to
        install PHP as a CGI, as in <a href="gallery1-install.faq.b.html#gallery1-install.faq.b.3">FAQ B.3
        </a>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.4"></a><a name="id308840"></a><b>C.4.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.4"></a><a name="id2526714"></a><b>C.4.</b></td><td align="left" valign="top"><p>
        Whenever I try to upload grayscale JPEG images I get a <tt class="literal">Unable to
        make thumbnail</tt> error.  Why?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        This is a bug in some versions of NetPBM that cause it to choke on grayscale
        images.  This is fixed in the version of NetPBM available on the Gallery
        download page.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.5"></a><a name="id308871"></a><b>C.5.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.5"></a><a name="id2526745"></a><b>C.5.</b></td><td align="left" valign="top"><p>
        Whenever I try to upload an image in Gallery, I get all these errors about
        <tt class="literal">safe mode</tt>.  How can I fix this?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -249,7 +249,7 @@
          Find another host that doesn't use safe mode.  Some are listed in the
          <a href="http://gallery.sourceforge.net/wiki.php?page=Web%20Hosting%20Referral%20Page" target="_top">
          Gallery Hosting Referrals Page</a>
-        </p></li></ol></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.6"></a><a name="id308951"></a><b>C.6.</b></td><td align="left" valign="top"><p>
+        </p></li></ol></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.6"></a><a name="id2526826"></a><b>C.6.</b></td><td align="left" valign="top"><p>
        Why can't I upload big files (over a megabyte or two)?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        Craig Goranson wrote a very informative <a href="http://marc.theaimsgroup.com/?l=gallery-users&amp;m=102589601604892&amp;w=2" target="_top">
@@ -271,14 +271,14 @@
        you want (until you hit <tt class="literal">upload_max_filesize</tt> and/or
        <tt class="literal">post_max_size</tt> -- see the above email link for more
        information).
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.7"></a><a name="id309052"></a><b>C.7.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.7"></a><a name="id2526928"></a><b>C.7.</b></td><td align="left" valign="top"><p>
        When I try to run <span><b class="command">configure.sh</b></span>, I get an error like this:
        <tt class="literal">chmod: getting attributes of `setup\r': No such file or directory</tt>
        How do I fix that?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        The answer is to simply upload the <tt class="filename">configure.sh</tt> file
        in <tt class="literal">ASCII FTP mode</tt>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.8"></a><a name="id309102"></a><b>C.8.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.8"></a><a name="id2526976"></a><b>C.8.</b></td><td align="left" valign="top"><p>
        When I try to click on the "[login]" link on the Gallery page, nothing happens
        (no window pops up).  What's wrong?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -299,7 +299,7 @@
        (note the "www" is missing), you'll still see your Gallery, but you'll
        experience this problem. The solution is to pick one hostname and stick
        with it.  
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.9"></a><a name="id309140"></a><b>C.9.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.9"></a><a name="id2527021"></a><b>C.9.</b></td><td align="left" valign="top"><p>
        When I try to login, everything seems to go correctly, but Gallery doesn't
        log me in?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -346,7 +346,7 @@
          you need to use the one that is specified in your configuration.  If you use the one
          that's not specified, you may be unable to login.  Another remedy for this issue is
          to follow the instructions in <a href="gallery1-install.faq.c.html#gallery1-install.faq.c.22">FAQ C.22</a>
-        </p></li></ul></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.10"></a><a name="id309327"></a><b>C.10.</b></td><td align="left" valign="top"><p>
+        </p></li></ul></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.10"></a><a name="id2527212"></a><b>C.10.</b></td><td align="left" valign="top"><p>
        Why do I see <tt class="literal">Warning: Undefined variable: GALLERY_BASEDIR...
        </tt> at the top of the page?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -367,7 +367,7 @@
        </p><pre class="screen">
         php_value error_reporting 2039
        </pre><p>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.11"></a><a name="id309409"></a><b>C.11.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.11"></a><a name="id2527297"></a><b>C.11.</b></td><td align="left" valign="top"><p>
        I can successfully upload photos, but when I look in my album all I see
        are broken image icons. Why?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -375,7 +375,7 @@
        wizard.  You can fix this by re-running the config wizard and correcting
        the Albums URL value or you can edit the <tt class="filename">config.php</tt>
        file and fix the $gallery-&gt;app-&gt;albumDirURL variable. 
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.12"></a><a name="id309442"></a><b>C.12.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.12"></a><a name="id2527330"></a><b>C.12.</b></td><td align="left" valign="top"><p>
        Why do I get <tt class="literal">Failed opening 'html_wrap/inline_albumthumb.header.default'</tt>
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        If you unzipped/untarred the Gallery script on a Mac running OS 9.2.1
@@ -389,7 +389,7 @@
        will solve this. This is only a problem if its untarred/gzipped on a Mac.
        If they are unzipped on the server they will work fine. [Thanks James
        O'Donnell]
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.13"></a><a name="id309496"></a><b>C.13.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.13"></a><a name="id2527387"></a><b>C.13.</b></td><td align="left" valign="top"><p>
        Why do I see this error:
        </p><pre class="screen">
         jpegtopnm: WRITING PPM FILE
@@ -403,7 +403,7 @@
         </p></li><li><p>
          Your NetPBM binaries have a bug.  Please use the NetPBM binaries found
          on the Gallery Download Page.
-        </p></li></ol></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.14"></a><a name="id309561"></a><b>C.14.</b></td><td align="left" valign="top"><p>
+        </p></li></ol></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.14"></a><a name="id2527449"></a><b>C.14.</b></td><td align="left" valign="top"><p>
        Why, when I try to upload images, does it say <tt class="literal">No images uploaded
        </tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -417,7 +417,7 @@
          <tt class="literal">file_uploads</tt> isn't enabled, then you won't be able
          to upload images to Gallery, and you should talk to your system
          administrator.
-        </p></li></ol></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.15"></a><a name="id309644"></a><b>C.15.</b></td><td align="left" valign="top"><p>
+        </p></li></ol></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.15"></a><a name="id2527530"></a><b>C.15.</b></td><td align="left" valign="top"><p>
        Why do I get this error: <tt class="literal">Warning: fopen(".../albums/team/album.dat.lock","a+")</tt>
        or <tt class="literal">Your Userfile is not writeable</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -440,7 +440,7 @@
        directory 777.  <span class="emphasis"><em>Make sure you chmod the <tt class="filename">.users</tt>
        directory, which can sometimes be hidden from view.  See <a href="gallery1-install.faq.c.html#gallery1-install.faq.c.19">
        FAQ C.19</a> for more details</em></span>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.16"></a><a name="id309721"></a><b>C.16.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.16"></a><a name="id2527610"></a><b>C.16.</b></td><td align="left" valign="top"><p>
        Why do I get the error <tt class="literal">Allowed memory size of Xxx bytes exhausted
        </tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -459,7 +459,7 @@
          When adding that line to <tt class="filename">.htaccess</tt>, you must use a 
          number, in bytes.  For example, 8MB would be about 8000000 bytes.
         </p></div><p>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.17"></a><a name="id309807"></a><b>C.17.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.17"></a><a name="id2527696"></a><b>C.17.</b></td><td align="left" valign="top"><p>
        Why do I get <tt class="literal">pnmtojpeg: No such file or directory when uploading
        images</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -483,7 +483,7 @@
         </p></li><li><p>
          Upgrade to Gallery v1.3.4 which lets you specify which one you have in
          the config wizard.
-        </p></li></ol></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.18"></a><a name="id309933"></a><b>C.18.</b></td><td align="left" valign="top"><p>
+        </p></li></ol></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.18"></a><a name="id2527821"></a><b>C.18.</b></td><td align="left" valign="top"><p>
        Why do I get this warning: <tt class="literal">Your script possibly relies on a
        session side-effect which existed until PHP 4.2.3</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -504,7 +504,7 @@
        </pre><p>
       </p><p>
        This should be fixed in future versions of Gallery.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.19"></a><a name="id310006"></a><b>C.19.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.19"></a><a name="id2527894"></a><b>C.19.</b></td><td align="left" valign="top"><p>
        Why, when I try to upload a <tt class="filename">.htaccess</tt> and chmod it with my FTP client,
        it "disappears"?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -517,7 +517,7 @@
        for Chmod with WS_FTP</a>.  If you use CuteFTP, see
        <a href="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;topic=701&amp;action=viewtopic&amp;topic=1902" target="_top">
        this thread in the forums.</a>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.20"></a><a name="id310053"></a><b>C.20.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.20"></a><a name="id2527944"></a><b>C.20.</b></td><td align="left" valign="top"><p>
        Why does uploading pictures on my RedHat 8.0 system result in an error
        or scewed picture?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -530,7 +530,7 @@
        this thread in the forums</a>.  Keep in mind that these are merely
        workarounds.  The best option is to upgrade your PHP version to the latest
        from <a href="http://www.php.net/" target="_top">http://www.php.net/</a>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.21"></a><a name="id310094"></a><b>C.21.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.21"></a><a name="id2527990"></a><b>C.21.</b></td><td align="left" valign="top"><p>
        Why doesn't Gallery work correctly on my RedHat 9.0 system?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        As in Red Hat Linux versions since 8.0, the default web server is Apache
@@ -542,7 +542,7 @@
        <a href="http://www.php.net/" target="_top">http://www.php.net/</a>.  See
        <a href="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;action=viewtopic&amp;topic=5741&amp;1" target="_top">
        this forum post</a> for information on how to compile PHP.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.22"></a><a name="id310134"></a><b>C.22.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.22"></a><a name="id2528034"></a><b>C.22.</b></td><td align="left" valign="top"><p>
        How do I use Gallery both from inside my LAN and the internet?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
         There is a fix planned for future versions of Gallery to allow the config
@@ -598,7 +598,7 @@
              <span class="emphasis"><em>Linux/Unix</em></span> <tt class="filename">/etc/hosts</tt>
             </p></li></ul></div><p>
          </p></li></ul></div><p>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.23"></a><a name="id310366"></a><b>C.23.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.23"></a><a name="id2528261"></a><b>C.23.</b></td><td align="left" valign="top"><p>
        I'm running Gallery 1.3.4, PHP 4.0.4 and I get <tt class="literal">Call to undefined
        function: array_search() in view_photo.php</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -622,7 +622,7 @@
 
       </pre><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
         This has been fixed in Gallery 1.4.0
-       </p></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.24"></a><a name="id310427"></a><b>C.24.</b></td><td align="left" valign="top"><p>
+       </p></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.24"></a><a name="id2528327"></a><b>C.24.</b></td><td align="left" valign="top"><p>
        Why, when I edit an album or photo's text, do quotation marks appear
        as <tt class="literal">\'</tt> (e.g. <tt class="literal">John Doe\'s Album</tt>)?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -634,7 +634,7 @@
       </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
         As of Gallery 1.4.0, Gallery will strip the slashes from fields so that
         this does not happen, even if <tt class="literal">magic_quotes_gpc</tt> is on.
-       </p></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.25"></a><a name="id310493"></a><b>C.25.</b></td><td align="left" valign="top"><p>
+       </p></div></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.25"></a><a name="id2528392"></a><b>C.25.</b></td><td align="left" valign="top"><p>
        I can't extract a <tt class="literal">.tar.gz</tt> file on my Windows machine.
        Why not?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -650,12 +650,12 @@
          </p></li><li><p>
           Unzip once more
          </p></li></ol></div><p>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.26"></a><a name="id310585"></a><b>C.26.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.26"></a><a name="id2528481"></a><b>C.26.</b></td><td align="left" valign="top"><p>
        Why do I get an <tt class="literal">EOF / read error reading magic number</tt>
        error when uploading pictures with NetPBM?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        Please see <a href="gallery1-install.faq.c.html#gallery1-install.faq.c.2">FAQ c.2</a>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.27"></a><a name="id310624"></a><b>C.27.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.27"></a><a name="id2528517"></a><b>C.27.</b></td><td align="left" valign="top"><p>
        Why do I get errors like this: <tt class="literal">Warning: open_basedir restriction in effect. File is in wrong
        directory in /home/johndoe/public_html/gallery/platform/fs_unix.php on line 53</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -664,20 +664,20 @@
        Basically, your host has misconfigured this directive and not added the directory where Gallery
        is located to the directories where PHP can access and modify files.  You'll need to contact them
        and ask them to add the directory where your website files are located.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.28"></a><a name="id310664"></a><b>C.28.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.28"></a><a name="id2528560"></a><b>C.28.</b></td><td align="left" valign="top"><p>
        Why do I get this error: <tt class="literal">Warning: write failed: No space left on device (28) in Unknown on line 0</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        Your host setup a quota for the web server user.  Though <span class="emphasis"><em>your account</em></span> may still have
        space left, the quota for the web server user has been overrun.  Basically, you'll need to contact
        your host and ask them to cleanup the filesystem and/or adjust the quota.  If you are your host,
        adjust the quota using <span><b class="command">edquota</b></span>.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.29"></a><a name="id310706"></a><b>C.29.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.29"></a><a name="id2528603"></a><b>C.29.</b></td><td align="left" valign="top"><p>
        Why do I get this error: <tt class="literal">Warning:  exec() has been disabled for security reasons</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        Basically, this is a form of safe mode.  Gallery requires functions like <tt class="literal">exec()</tt> to
        perform operations on images.  The steps to "fix" this problem are the same as in
        <a href="gallery1-install.faq.c.html#gallery1-install.faq.c.5">FAQ C.5</a>.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.30"></a><a name="id310751"></a><b>C.30.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.30"></a><a name="id2528646"></a><b>C.30.</b></td><td align="left" valign="top"><p>
        Why can't I upload images using ImageMagick on FreeBSD?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        The default install of ImageMagick on FreeBSD doesn't seem to compile with some
@@ -699,7 +699,7 @@
           Then uninstall ImageMagick via ports (<span><b class="command">make deinstall clean</b></span>)
           and reinstall it (<span><b class="command">make install clean</b></span>)
          </p></li></ol></div><p>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.31"></a><a name="id310835"></a><b>C.31.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.31"></a><a name="id2528732"></a><b>C.31.</b></td><td align="left" valign="top"><p>
        How do I put my Gallery into debug mode?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        There are two ways, each pretty much equal in simplicity.
@@ -725,7 +725,7 @@
        </pre><p>
        And change "no" to "yes"  This will enable some extra debugging features and turn up PHP's
        error reporting level.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.32"></a><a name="id310934"></a><b>C.32.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.32"></a><a name="id2528832"></a><b>C.32.</b></td><td align="left" valign="top"><p>
        I have uploaded the NetPBM or ImageMagick binaries to my site, but
        I don't know the absolute path to specify in the configuration
        wizard.  What do I do?
@@ -742,7 +742,7 @@
        </pre><p>
        View this file via the web (for example: http://www.example.com/gallery/
        netpbm/test.php).  It will tell you the absolute path to specify.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.33"></a><a name="id310974"></a><b>C.33.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.33"></a><a name="id2528874"></a><b>C.33.</b></td><td align="left" valign="top"><p>
        When I try to enter an album, I get a 404 error.  What's up?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        One of two things in happening
@@ -762,7 +762,7 @@
 	  </pre><p>          
           Voila!  The URLs should work correctly now.
          </p></li></ul></div><p>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.34"></a><a name="id311044"></a><b>C.34.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.34"></a><a name="id2528943"></a><b>C.34.</b></td><td align="left" valign="top"><p>
        I changed a value on Step 3 of the configuration wizard (or in
        <tt class="filename">config.php</tt>), but the change isn't taking effect.  What's going on?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -774,7 +774,7 @@
        Select "properties" from the &lt;&lt;admin options&gt;&gt; pulldown.
        Then, in the popup window you will be able to change the properties
        for that album.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.35"></a><a name="id311085"></a><b>C.35.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.35"></a><a name="id2528988"></a><b>C.35.</b></td><td align="left" valign="top"><p>
        Can I host images on another server to conserve space?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        The straight answer is no.  Gallery must have the images on the local
@@ -789,7 +789,7 @@
        will attempt to use the images on the server with lots of bandwidth, so that
        the local server doesn't suffer so much.  More information is available in the
        <a href="gallery1-admin.mirroring.html" title="Mirroring Gallery">mirroring tutorial</a>.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.36"></a><a name="id311136"></a><b>C.36.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.36"></a><a name="id2529042"></a><b>C.36.</b></td><td align="left" valign="top"><p>
        Why do I get errors with email on Windows?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        If you go to http://www.example.com/gallery/setup/check_mail.php and it gives you the following
@@ -824,7 +824,7 @@
          SMTP = smtp.server.com
          sendmail_from = youremail@server.com
         </pre><p>
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.37"></a><a name="id311194"></a><b>C.37.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.37"></a><a name="id2529107"></a><b>C.37.</b></td><td align="left" valign="top"><p>
        I've forgotten my admin password!  How can I reset it?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        Version 1.4.3 or below: Resetting your admin password is easy; 
@@ -837,7 +837,7 @@
        and you will be required to edit the <span class="emphasis"><em>resetadmin</em></span> file,
        add the string, save, and refresh your browser.  This is a security measure to prove that you
        are an administrator.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.38"></a><a name="id311291"></a><b>C.38.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.38"></a><a name="id2529202"></a><b>C.38.</b></td><td align="left" valign="top"><p>
        Why are my picture frames screwed up?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        If you have a file called gallery/css/embedded_style.css (ie
@@ -863,7 +863,7 @@
        If you didn't touch the CSS or frame files, this probably means that
        you didn't override the files upon upgrade.  Make sure that your FTP
        client overrides the old files and upgrades to the new ones.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.39"></a><a name="id311340"></a><b>C.39.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.39"></a><a name="id2529260"></a><b>C.39.</b></td><td align="left" valign="top"><p>
        Why do I get this error: <tt class="literal">Fatal error: session_start(): Failed to
        initialize storage module: user...</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -876,7 +876,7 @@
        </pre><p>
        This should fix it if you host allows you to edit PHP directives in <tt class="filename">.htaccess</tt>.
        If not, you may need to contact them to get it changed globally.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.40"></a><a name="id311393"></a><b>C.40.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.40"></a><a name="id2529313"></a><b>C.40.</b></td><td align="left" valign="top"><p>
        I need to remove my albums directory, but I can't since the webserver user
        owns the files.  What can I do?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -885,7 +885,7 @@
        here: <a href="http://gallery.menalto.com/modules.php?op=modload&amp;name=Downloads&amp;file=index&amp;req=viewdownload&amp;cid=6" target="_top">
        Gallery Utilities</a> ("Bharat's Cleanup Script").  Instructions are included
        in the top of the file.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.41"></a><a name="id311426"></a><b>C.41.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.41"></a><a name="id2529348"></a><b>C.41.</b></td><td align="left" valign="top"><p>
        Why is my Gallery blue?!
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        As of Gallery 1.5, the CSS system has changed.  There is a <tt class="filename">base.css</tt>
@@ -894,7 +894,7 @@
        Finally, there is <tt class="filename">embedded.css</tt> which loads when your gallery is embedded
        in another program.  To change the color of your gallery, you can edit the appropriate CSS
        file or select a skin in the configuration wizard.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.42"></a><a name="id311472"></a><b>C.42.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.c.42"></a><a name="id2529394"></a><b>C.42.</b></td><td align="left" valign="top"><p>
        When I open Gallery inside Mambo, i get "Gallery seems to be inside Mambo, but we couldn't get the necessary info."
        What am i or my visitors doing wrong?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
diff -Naur gallery-1.5.4/docs/g1package/gallery1-install.faq.d.html gallery-1.5.5/docs/g1package/gallery1-install.faq.d.html
--- gallery-1.5.4/docs/g1package/gallery1-install.faq.d.html	2006-08-15 14:21:30.000000000 +0200
+++ gallery-1.5.5/docs/g1package/gallery1-install.faq.d.html	2006-11-12 18:36:49.000000000 +0100
@@ -8,7 +8,7 @@
        (comment, images, etc..)?
       </a></dt><dt>D.4. <a href="gallery1-install.faq.d.html#gallery1-install.faq.d.4">
        Something went wrong, it's not working! What do I do?
-      </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.d.1"></a><a name="id311520"></a><b>D.1.</b></td><td align="left" valign="top"><p>
+      </a></dt></dl></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.d.1"></a><a name="id2529441"></a><b>D.1.</b></td><td align="left" valign="top"><p>
        How can I migrate my Gallery from one host to another?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Warning</h3><p>
         If you are moving between a Windows and non-Windows host, please
@@ -52,14 +52,14 @@
        the albums directory you just uploaded, not a blank directory, as you
        would on a clean install of Gallery. After you secure Gallery, all your
        data should show up intact!
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.d.2"></a><a name="id311627"></a><b>D.2.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.d.2"></a><a name="id2529567"></a><b>D.2.</b></td><td align="left" valign="top"><p>
        Why do I get this error after migration: <tt class="literal">Warning: fopen
        ('.../albums/foo/album.dat.lock', 'a+')</tt>?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        This is caused by not recursively chmodding the new albums directory 0777.
        See FAQ <a href="gallery1-install.faq.c.html#gallery1-install.faq.c.15">C.15</a> for information
        on how to fix this.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.d.3"></a><a name="id311666"></a><b>D.3.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.d.3"></a><a name="id2529605"></a><b>D.3.</b></td><td align="left" valign="top"><p>
        Will moving my Gallery to another host cause me to lose data
        (comment, images, etc..)?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
@@ -67,7 +67,7 @@
        </a>, there should be no lose of data whatsoever. However, because of Murphy's
        law, it's a good idea not to delete your albums directory on your old host before
        you know everything is working on the new host.
-      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.d.4"></a><a name="id311701"></a><b>D.4.</b></td><td align="left" valign="top"><p>
+      </p></td></tr><tr class="question"><td align="left" valign="top"><a name="gallery1-install.faq.d.4"></a><a name="id2529639"></a><b>D.4.</b></td><td align="left" valign="top"><p>
        Something went wrong, it's not working! What do I do?
       </p></td></tr><tr class="answer"><td align="left" valign="top"><b></b></td><td align="left" valign="top"><p>
        First, try again. Make sure you follow all the instructions in
diff -Naur gallery-1.5.4/docs/g1package/index.html gallery-1.5.5/docs/g1package/index.html
--- gallery-1.5.4/docs/g1package/index.html	2006-08-15 14:21:31.000000000 +0200
+++ gallery-1.5.5/docs/g1package/index.html	2006-11-12 18:36:51.000000000 +0100
@@ -1,6 +1,6 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Gallery Manual</title><meta name="generator" content="DocBook XSL Stylesheets V1.66.0"><link rel="start" href="index.html" title="Gallery Manual"><link rel="next" href="gallery1-install.html" title="Chapter 1. Gallery 1.x Installation Guide"><link rel="stylesheet" href="html.css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Gallery Manual</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="gallery1-install.html">Next</a></td></tr></table><hr></div><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="manual"></a>Authors</h1></div><div><div class="authorgroup"><div class="author"><span class="firstname">Bharat</span> <span class="surname">Mediratta</span></div><div class="author"><span class="firstname">Gaile</span> <span class="surname">Elliott</span></div><div class="author"><span class="firstname">Christian</span> <span class="surname">Mohn</span></div><div class="author"><span class="firstname">Andrew</span> <span class="surname">Lindeman</span></div><div class="author"><span class="firstname">Joan</span> <span class="surname">McGalliard</span></div><div class="author"><span class="firstname">Pierre-Luc</span> <span class="surname">Paour</span></div><div class="author"><span class="firstname">Beckett</span> <span class="surname">Madden-Woods</span></div><div class="author"><span class="firstname">Jens</span> <span class="surname">Tkotz</span></div><h4 class="editedby">Edited by</h4><span class="firstname">Michael</span> <span class="surname">Schultheiss</span></div></div><div><p class="copyright">Copyright © 2003-2005 Gallery Documentation Group</p></div><div><div class="legalnotice"><a name="id300966"></a><p>
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Gallery Manual</title><meta name="generator" content="DocBook XSL Stylesheets V1.66.0"><link rel="start" href="index.html" title="Gallery Manual"><link rel="next" href="gallery1-install.html" title="Chapter 1. Gallery 1.x Installation Guide"><link rel="stylesheet" href="html.css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Gallery Manual</th></tr><tr><td width="20%" align="left"> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="gallery1-install.html">Next</a></td></tr></table><hr></div><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="manual"></a>Authors</h1></div><div><div class="authorgroup"><div class="author"><span class="firstname">Bharat</span> <span class="surname">Mediratta</span></div><div class="author"><span class="firstname">Gaile</span> <span class="surname">Elliott</span></div><div class="author"><span class="firstname">Christian</span> <span class="surname">Mohn</span></div><div class="author"><span class="firstname">Andrew</span> <span class="surname">Lindeman</span></div><div class="author"><span class="firstname">Joan</span> <span class="surname">McGalliard</span></div><div class="author"><span class="firstname">Pierre-Luc</span> <span class="surname">Paour</span></div><div class="author"><span class="firstname">Beckett</span> <span class="surname">Madden-Woods</span></div><div class="author"><span class="firstname">Jens</span> <span class="surname">Tkotz</span></div><h4 class="editedby">Edited by</h4><span class="firstname">Michael</span> <span class="surname">Schultheiss</span></div></div><div><p class="copyright">Copyright © 2003-2005 Gallery Documentation Group</p></div><div><div class="legalnotice"><a name="id2472308"></a><p>
     This guide is distributed under the terms of the <a href="http://www.gnu.org/licenses/gpl.txt" target="_top">
     GNU General Public License</a>.
    </p></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="gallery1-install.html">1. Gallery 1.x Installation Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="gallery1-install.overview.html">Overview</a></span></dt><dt><span class="sect1"><a href="gallery1-install.features.html">Features</a></span></dt><dt><span class="sect1"><a href="gallery1-install.credits.html">Credits</a></span></dt><dt><span class="sect1"><a href="gallery1-install.requirements.html">Installation Requirements</a></span></dt><dt><span class="sect1"><a href="gallery1-install.unix-ftp.html">Installing on a Unix/Linux Server with FTP</a></span></dt><dt><span class="sect1"><a href="gallery1-install.unix-shell.html">Installing on a Unix/Linux Server with Shell Access</a></span></dt><dt><span class="sect1"><a href="gallery1-install.windows.html">Installing on a Windows Server (Apache)</a></span></dt><dt><span class="sect1"><a href="gallery1-install.windows-iis.html">Installing on a Windows Server (IIS)</a></span></dt><dt><span class="sect1"><a href="gallery1-install.upgrade.html">Upgrading a Previous Gallery Installation</a></span></dt><dt><span class="sect1"><a href="gallery1-install.help.html">Getting Additional Help</a></span></dt><dt><span class="sect1"><a href="gallery1-install.required-programs.html">Installing Required Programs</a></span></dt><dt><span class="sect1"><a href="gallery1-install.remote-applets.html">Installing (or updating) Gallery Remote Applets</a></span></dt><dt><span class="sect1"><a href="gallery1-install.language-packs.html">Installing Language Packs</a></span></dt><dt><span class="sect1"><a href="gallery1-install.config-wizard.html">The Configuration Wizard</a></span></dt><dt><span class="sect1"><a href="gallery1-install.faq.html">Frequently Asked Questions</a></span></dt></dl></dd><dt><span class="chapter"><a href="gallery1-admin.html">2. Gallery 1.x Administration Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="gallery1-admin.basics.html">Basics</a></span></dt><dt><span class="sect1"><a href="gallery1-admin.users.html">Users and Permissions</a></span></dt><dt><span class="sect1"><a href="gallery1-admin.embedding.html">Embedding Gallery</a></span></dt><dt><span class="sect1"><a href="gallery1-admin.securing.html">Securing Gallery</a></span></dt><dt><span class="sect1"><a href="gallery1-admin.performance.html">Performance Tips</a></span></dt><dt><span class="sect1"><a href="gallery1-admin.backup.html">Backup and Restore</a></span></dt><dt><span class="sect1"><a href="gallery1-admin.offline.html">Creating an Offline Copy</a></span></dt><dt><span class="sect1"><a href="gallery1-admin.patching.html">Patching your Gallery</a></span></dt><dt><span class="sect1"><a href="gallery1-admin.mirroring.html">Mirroring Gallery</a></span></dt></dl></dd><dt><span class="chapter"><a href="gallery1-user.html">3. Gallery 1.x User's Guide</a></span></dt><dd><dl><dt><span class="sect1"><a href="gallery1-user.import.html">Importing into gallery</a></span></dt><dt><span class="sect1"><a href="gallery1-user.watermark.html">Watermarking</a></span></dt></dl></dd></dl></div><p>
-  Documentation last generated on: Tue Aug 15 14:21:27 CEST 2006
+  Documentation last generated on: Sun Nov 12 12:36:44 EST 2006
  </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="gallery1-install.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"> </td><td width="40%" align="right" valign="top"> Chapter 1. Gallery 1.x Installation Guide</td></tr></table></div></body></html>
diff -Naur gallery-1.5.4/download.php gallery-1.5.5/download.php
--- gallery-1.5.4/download.php	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/download.php	2006-11-12 10:05:55.000000000 +0100
@@ -17,7 +17,7 @@
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 *
-* $Id: download.php 13338 2006-03-27 15:32:14Z jenst $
+* $Id: download.php 15163 2006-11-12 09:05:55Z jenst $
 */
 ?>
 <?php
@@ -73,7 +73,7 @@
     echo sprintf("%s ". gTranslate('core', "%s and %s."), $textNumItems, $textNumSubAlbums, $textNumPhotos);
 
     if($numPhotos > 0) {
-        echo '<p>'. sprintf(gTranslate('core', "Approximitaly size of zipfile: %s"), formatted_filesize($albumSize)) .'</p>';
+        echo '<p>'. sprintf(gTranslate('core', "Approximate size of zipfile: %s"), formatted_filesize($albumSize)) .'</p>';
 
         echo makeFormIntro('download.php', array('onChange' => 'document.g1_form.submit()'), array('gallery_popup' => 'true'));
 
diff -Naur gallery-1.5.4/ecard_form.php gallery-1.5.5/ecard_form.php
--- gallery-1.5.4/ecard_form.php	2006-05-02 11:59:13.000000000 +0200
+++ gallery-1.5.5/ecard_form.php	2006-10-10 14:41:57.000000000 +0200
@@ -19,8 +19,8 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: ecard_form.php 13579 2006-05-02 09:59:13Z jenst $
- */
+ * $Id: ecard_form.php 14746 2006-10-10 12:41:57Z jenst $
+*/
 ?>
 <?php
 /*
@@ -31,195 +31,212 @@
 ####################################################################################
 */
 
-  require_once(dirname(__FILE__) . '/init.php');
+require_once(dirname(__FILE__) . '/init.php');
+
+list($photoIndex, $ecard, $submit_action) =
+    getRequestVar(array('photoIndex', 'ecard', 'submit_action'));
 
-  list($photoIndex, $ecard, $submit_action) = getRequestVar(array('photoIndex', 'ecard', 'submit_action'));
+doctype();
 
-  printPopupStart(gTranslate('core', "Send this photo as eCard"));
-  $ecard['photoIndex'] = empty($ecard['photoIndex']) ? $photoIndex : $ecard['photoIndex'];
+printPopupStart(gTranslate('core', "Send this photo as eCard"));
+$ecard['photoIndex'] = empty($ecard['photoIndex']) ? $photoIndex : $ecard['photoIndex'];
 
-  if(!$photo = $gallery->album->getPhoto($ecard['photoIndex'])) {
+if(!$photo = $gallery->album->getPhoto($ecard['photoIndex'])) {
     echo gallery_error($errortext);
-    echo "\n<p></p>";
-    echo galleryLink(makeGalleryUrl(), "Back to Gallery");
+    echo "\n<br><br>";
+    echo '<input type="button" value="'. gTranslate('core', "Close Window.") .'" onClick="parent.close()">';
+    echo "</div></body></html>";
     exit;
-  }
+}
 
-  /* Get the dimensions of the sized Photo */
-  list($width, $height) = $photo->getDimensions(0, false);  
+/* Get the dimensions of the sized Photo */
+list($width, $height) = $photo->getDimensions(0, false);
 
-  $max_length = 300;   // Maximum length of the e-Card text
-  $msgTextError1 = _("Error processing e-card. Please try later.");
-  $msgTextError2 = _("Some input fields are not correctly filled out. Please fill out.");
-  $ecard_PLAIN_data = _("You have an e-card as attachment. Click to see.");
-
-  $error_msg = '';
-  
-  $ecard_send = false;
-  if (! empty($submit_action)) {
-
-    if (check_email($ecard["email_recepient"]) && 
-      check_email($ecard["email_sender"]) && 
-      ! empty($ecard["email_recepient"]) && 
-      ! empty($ecard["name_sender"])) {
-      if (strlen($ecard["message"]) > $max_length) {
-          $ecard["message"] = substr($ecard["message"],0,$max_length-1);
-      }
-      list($error,$ecard_data_to_parse) = get_ecard_template($ecard["template_name"]);
-      if ($error) {
-          $error_msg = $msgTextError1;
-      } else {
-	$ecard_HTML_data = parse_ecard_template($ecard,$ecard_data_to_parse, false);
-           $result = send_ecard($ecard,$ecard_HTML_data,$ecard_PLAIN_data);
-           if ($result) {
-             $ecard_send = true;
-           } else {
-               $error_msg = $msgTextError1;
-             }
-         }
-    } else {
-       $error_msg = $msgTextError2;
-      }
-  } else {
-	if (!isset($ecard["image_name"])) {
-	    $ecard["image_name"] = $photo->getPhotoPath($gallery->album->fields['name'], false);
-	}
+$max_length = 300;   // Maximum length of the e-Card text
+$ecard_PLAIN_data = gTranslate('core', "You have an e-card as attachment. Click to see.");
+$error_msg = '';
+$mandatory = array('name_sender', 'email_sender', 'name_recepient', 'email_recepient', 'message');
+$ecard_send = false;
+
+if (! empty($submit_action)) {
+    foreach ($mandatory as $mandatoryField) {
+        if(empty($ecard[$mandatoryField])) {
+            $error_msg .= gTranslate('core', "Some input fields are not correctly filled out. Please fill out.") . '<br>';
+            $error_msg .= '<br>';
+            break;
+        }
+    }
+
+    if (!check_email($ecard["email_recepient"]) || !check_email($ecard["email_sender"])) {
+        $error_msg .= gTranslate('core', "The sender or recepient email adress is not valid.");
+        $error_msg .= '<br>';
+    }
+
+    if (strlen($ecard["message"]) > $max_length) {
+        $ecard["message"] = substr($ecard["message"],0,$max_length-1);
+    }
+
+    list($error,$ecard_data_to_parse) = get_ecard_template($ecard["template_name"]);
+    if ($error) {
+        $error_msg .= gTranslate('core', "Couldn't load the ecard template. Please contact the Gallery admin!");
+        $error_msg .= '<br>';
+    }
+
+    if (empty($error_msg)) {
+        $ecard_HTML_data = parse_ecard_template($ecard,$ecard_data_to_parse, false);
+        $result = send_ecard($ecard,$ecard_HTML_data,$ecard_PLAIN_data);
+        if ($result) {
+            $ecard_send = true;
+        }
+        else {
+            $error_msg .= gTranslate('core', "Problem with sending the eCard. Please contact the Gallery admin!");
+            $error_msg .= '<br>';
+        }
+    }
+}
+else {
+    if (!isset($ecard["image_name"])) {
+        $ecard["image_name"] = $photo->getPhotoPath($gallery->album->fields['name'], false);
     }
-?> 
+}
+?>
 <script type="text/javascript">
 <!--
- function popup_win(theURL,winName,winOptions) {
-   win = window.open(theURL,winName,winOptions);
-   win.focus();
- }
-
- function make_preview() {
-   document.ecard_form.action = "<?php echo $gallery->app->photoAlbumURL ; ?>/ecard_preview.php";
-   popup_win('','ecard_preview','resizable=yes,scrollbars=yes,width=800,height=600');
-   document.ecard_form.target = "ecard_preview";
-   document.ecard_form.submit();
- }
-
- function send_ecard() {
-   document.ecard_form.action = "<?php echo $HTTP_SERVER_VARS["PHP_SELF"] ?>";
-   document.ecard_form.target = "_self";
-   document.ecard_form["submit_action"].value = "send";
-   if (check()) { document.ecard_form.submit(); }
- }
- 
- function check() {
-   var error = false;
-   var error_message = "<?php echo _("Error: to send an eCard you need to fill out all fields."); ?>";
-   error_message +="\n <?php echo _("Please fill this fields:"); ?>\n\n";
-
-   if (document.ecard_form["ecard[name_sender]"].value == "") {
-     error = true;
-     error_message += "<?php echo _("- Your Name"); ?>\n";
-   } 
- 
-   if ((document.ecard_form["ecard[email_sender]"].value == "") && 
-      (document.ecard_form["ecard[email_sender]"].value.indexOf("@") == -1)) {
+function popup_win(theURL,winName,winOptions) {
+    win = window.open(theURL,winName,winOptions);
+    win.focus();
+}
+
+function make_preview() {
+    document.ecard_form.action = "<?php echo $gallery->app->photoAlbumURL ; ?>/ecard_preview.php";
+    popup_win('','ecard_preview','resizable=yes,scrollbars=yes,width=800,height=600');
+    document.ecard_form.target = "ecard_preview";
+    document.ecard_form.submit();
+}
+
+function send_ecard() {
+    document.ecard_form.action = "<?php echo $_SERVER["PHP_SELF"] ?>";
+    document.ecard_form.target = "_self";
+    document.ecard_form["submit_action"].value = "send";
+    if (check()) { document.ecard_form.submit(); }
+}
+
+function check() {
+    var error = false;
+    var error_message = "<?php echo gTranslate('core', "Error: to send an eCard you need to fill out all fields."); ?>";
+    error_message +="\n <?php echo gTranslate('core', "Please fill this fields:"); ?>\n\n";
+
+    if (document.ecard_form["ecard[name_sender]"].value == "") {
         error = true;
-        error_message += "<?php echo _("- Your Email"); ?>\n";
-   }
-  
-   if (document.ecard_form["ecard[name_recepient]"].value == "") {
-     error = true;
-     error_message += "<?php echo _("- Recipient's Name"); ?>\n";
-   } 
- 
-   if ((document.ecard_form["ecard[email_recepient]"].value == "") && 
-      (document.ecard_form["ecard[email_recepient]"].value.indexOf("@") == -1)) {
+        error_message += "<?php echo gTranslate('core', "- Your Name"); ?>\n";
+    }
+
+    if ((document.ecard_form["ecard[email_sender]"].value == "") &&
+    (document.ecard_form["ecard[email_sender]"].value.indexOf("@") == -1)) {
         error = true;
-        error_message += "<?php echo _("- Recipient's Email"); ?>\n";
-   }
-  
-   if (document.ecard_form["ecard[message]"].value == "") {
-     error = true;
-     error_message += "<?php echo _("- Your Message"); ?>\n";
-   }
-
-   if (error) {
-     error_message += "\n\n<?php echo _('Please fill all fields next click >Send<.'); ?>";
-     alert(error_message);
-     return false;  // Form not sent
-   } else {
-       return true;  // Form sent
-     }
-
-  } // Ende function check()
-  
-  function CountMax() {
+        error_message += "<?php echo gTranslate('core', "- Your Email"); ?>\n";
+    }
+
+    if (document.ecard_form["ecard[name_recepient]"].value == "") {
+        error = true;
+        error_message += "<?php echo gTranslate('core', "- Recipient's Name"); ?>\n";
+    }
+
+    if ((document.ecard_form["ecard[email_recepient]"].value == "") &&
+    (document.ecard_form["ecard[email_recepient]"].value.indexOf("@") == -1)) {
+        error = true;
+        error_message += "<?php echo gTranslate('core', "- Recipient's Email"); ?>\n";
+    }
+
+    if (document.ecard_form["ecard[message]"].value == "") {
+        error = true;
+        error_message += "<?php echo gTranslate('core', "- Your Message"); ?>\n";
+    }
+
+    if (error) {
+        error_message += "\n\n<?php echo gTranslate('core', 'Please fill all fields next click >Send<.'); ?>";
+        alert(error_message);
+        return false;  // Form not sent
+    } else {
+        return true;  // Form sent
+    }
+
+} // Ende function check()
+
+function CountMax() {
     max = <?php echo $max_length ?>;
     wert = max - document.ecard_form["ecard[message]"].value.length;
     if (wert < 0) {
-      alert("<?php echo sprintf(_("You have entered more than %d characters"), $max_length); ?>");
-      document.ecard_form["ecard[message]"].value = document.ecard_form["ecard[message]"].value.substring(0,max);
-      wert = 0;
-      document.ecard_form.counter.value = wert;
+        alert("<?php echo sprintf(gTranslate('core', "You have entered more than %d characters"), $max_length); ?>");
+        document.ecard_form["ecard[message]"].value = document.ecard_form["ecard[message]"].value.substring(0,max);
+        wert = 0;
+        document.ecard_form.counter.value = wert;
     } else {
         document.ecard_form.counter.value = max - document.ecard_form["ecard[message]"].value.length;
-      }
-  } // Ende function CountMax()
+    }
+} // Ende function CountMax()
 
 
 //-->
 </script>
 
-<?php 
-    if (! $ecard_send) {
-	echo $gallery->album->getThumbnailTag($photoIndex);
-	if (!empty($error_msg)) {
-	    echo '<p>'. gallery_error($error_msg) .'</p>';
-	}
+<?php
+if (! $ecard_send) {
+    echo $gallery->album->getThumbnailTag($ecard['photoIndex']);
+    if (!empty($error_msg)) {
+        echo '<p>'. gallery_error($error_msg) .'</p>';
+    }
 
     echo makeFormIntro("ecard_form.php",
-        array("name" => "ecard_form"),
-        array("type" => "popup"));
+    array("name" => "ecard_form"),
+    array("type" => "popup"));
 ?>
-  <input name="ecard[image_name]" type="hidden" value="<?php echo $ecard["image_name"] ?>">
+  <input name="ecard[image_name]" type="hidden" value="<?php echo $ecard["image_name"]; ?>">
   <input name="ecard[template_name]" type="hidden" value="ecard_1.tpl">
-  <input name="ecard[photoIndex]" type="hidden" value="<?php echo $photoIndex; ?>">
+  <input name="ecard[photoIndex]" type="hidden" value="<?php echo $ecard['photoIndex']; ?>">
   <input name="submit_action" type="hidden" value="">
 
   <br>
   <table border="0" cellpadding="0" cellspacing="4" align="center">
   <tr>
-    <td class="columnheader" colspan="2"><?php echo _("Your info"); ?></td>
+    <td class="columnheader" colspan="2"><?php echo gTranslate('core', "Your info"); ?></td>
     <td width="10">&nbsp;</td>
-    <td class="columnheader" colspan="2"><?php echo _("Recipient's info"); ?></td>
+    <td class="columnheader" colspan="2"><?php echo gTranslate('core', "Recipient's info"); ?></td>
   </tr>
   <tr>
-    <td><?php echo _("Name") ?></td>
+    <td><?php echo gTranslate('core', "Name") ?></td>
     <?php
-        $defaultSenderName = '';
-	$defaultSenderEmail = '';
-	if (! empty($gallery->user) && $gallery->user->isLoggedIn()) {
-	    $defaultSenderName = $gallery->user->displayName();
-	    $defaultSenderEmail = $gallery->user->getEmail();
-	}
+    $defaultSenderName = '';
+    $defaultSenderEmail = '';
+    if (! empty($gallery->user) && $gallery->user->isLoggedIn()) {
+        $defaultSenderName = $gallery->user->displayName();
+        $defaultSenderEmail = $gallery->user->getEmail();
+    }
+
+    $name_sender = empty($ecard[name_sender]) ? $defaultSenderName : $ecard['name_sender'];
+    $email_sender = empty($ecard[name_sender]) ? $defaultSenderEmail : $ecard['email_sender'];
     ?>
-    <td><input tabindex="1" maxlength="40" name="ecard[name_sender]" size="18" type="Text" value="<?php echo $defaultSenderName; ?>"></td>
+    <td><input tabindex="1" maxlength="40" name="ecard[name_sender]" size="18" type="Text" value="<?php echo $name_sender; ?>"></td>
     <td></td>
-    <td><?php echo _("Name") ?></td>
-    <td><input tabindex="3" maxlength="40" name="ecard[name_recepient]" size="18" type="Text" value=""></td>
+    <td><?php echo gTranslate('core', "Name") ?></td>
+    <td><input tabindex="3" maxlength="40" name="ecard[name_recepient]" size="18" type="Text" value="<?php echo $ecard['name_recepient']; ?>"></td>
   </tr>
   <tr>
-    <td><?php echo _("E-Mail"); ?></td>
-    <td><input tabindex="2" maxlength="40" name="ecard[email_sender]" size="18" type="Text" value="<?php echo $defaultSenderEmail; ?>"></td>
+    <td><?php echo gTranslate('core', "E-Mail"); ?></td>
+    <td><input tabindex="2" maxlength="40" name="ecard[email_sender]" size="18" type="Text" value="<?php echo $email_sender; ?>"></td>
     <td></td>
-    <td><?php echo _("E-Mail"); ?></td>
-    <td><input tabindex="4" maxlength="40" name="ecard[email_recepient]" size="18" type="Text" value=""></td>
+    <td><?php echo gTranslate('core', "E-Mail"); ?></td>
+    <td><input tabindex="4" maxlength="40" name="ecard[email_recepient]" size="18" type="Text" value="<?php echo $ecard['email_recepient']; ?>"></td>
   </tr>
   <tr>
     <td colspan="5" align="center">
   	  <select id="ecardstamp" name="ecard[stamp]">
-            <option selected value="08"><?php echo _("Choose a Stamp"); ?></option>
+            <option selected value="08"><?php echo gTranslate('core', "Choose a Stamp"); ?></option>
 <?php
 for($i = 1; $i <= 27; $i++) {
     $nr = sprintf("%02d", $i-1);
     echo "\n\t" . '<option value="'. $nr .'">';
-    echo sprintf(_("Stamp #%d"), $i);
+    echo sprintf(gTranslate('core', "Stamp #%d"), $i);
     echo "</option>";
 }
 ?>
@@ -229,12 +246,12 @@
     </td>
   </tr>
   <tr>
-    <td><?php echo _("Subject:"); ?></td>
-    <?php $defaultSubject = (!empty($defaultSenderName)) ? sprintf(_("%s sent you an E-C@rd"), $defaultSenderName) : ''; ?>
+    <td><?php echo gTranslate('core', "Subject:"); ?></td>
+    <?php $defaultSubject = (!empty($defaultSenderName)) ? sprintf(gTranslate('core', "%s sent you an E-C@rd"), $defaultSenderName) : ''; ?>
     <td colspan="4"><input type="Text" size="65" maxlength="75" name="ecard[subject]" value="<?php echo $defaultSubject; ?>"></td>
   </tr>
   <tr>
-    <td colspan="5"><?php echo _("Your Message:"); ?></td>
+    <td colspan="5"><?php echo gTranslate('core', "Your Message:"); ?></td>
   </tr>
   <tr>
     <td align="center" colspan="5">
@@ -253,33 +270,34 @@
      <td colspan="5" align="center">
      <table>
       <tr>
-        <td><input type="button" onClick="javascript:make_preview();" value="<?php echo _("Preview"); ?>"></td>
-        <td><input type="reset" value="<?php echo _("Reset"); ?>"></td>
+        <td><input type="button" onClick="javascript:make_preview();" value="<?php echo gTranslate('core', "Preview"); ?>"></td>
+        <td><input type="reset" value="<?php echo gTranslate('core', "Reset"); ?>"></td>
 	<td width="100%">&nbsp;</td>
-        <td align="left"><input type="button" onClick="javascript:window.close()" value="<?php echo _("Cancel"); ?>"></td>
-	<td><input type="button" onClick="javascript:send_ecard();" value="<?php echo _("Send eCard"); ?>"></td>
+        <td align="left"><input type="button" onClick="javascript:window.close()" value="<?php echo gTranslate('core', "Cancel"); ?>"></td>
+	<td><input type="button" onClick="javascript:send_ecard();" value="<?php echo gTranslate('core', "Send eCard"); ?>"></td>
       </tr>
      </table>
      </td>
   </tr>
   </table>
   </form>
-<?php } else {
-    echo sprintf(_("Your E-C@rd with the picture below has been sent to %s &lt;%s&gt;."), $ecard["name_recepient"], $ecard["email_recepient"]);
+<?php }
+else {
+    printf(gTranslate('core', "Your E-C@rd with the picture below has been sent to %s &lt;%s&gt;."), $ecard["name_recepient"], $ecard["email_recepient"]);
 ?>
   <p align="center"><?php echo $gallery->album->getThumbnailTag($ecard['photoIndex']); ?></p>
   <br>
-  <a href="javascript:window.close()"><?php echo _("Close this window") ?></a>
+  <a href="javascript:window.close()"><?php echo gTranslate('core', "Close this window") ?></a>
 <?php }
 ?>
 </div>
 <?php
 global $GALLERY_EMBEDDED_INSIDE;
-    $validation_args = array('photoIndex' => $photoIndex);
-    $validation_file = basename(__FILE__);
-        if (! isset($GALLERY_EMBEDDED_INSIDE)) {
-                print gallery_validation_link($validation_file, true, $validation_args);
-        }
+$validation_args = array('photoIndex' => $photoIndex);
+$validation_file = basename(__FILE__);
+if (! isset($GALLERY_EMBEDDED_INSIDE)) {
+    print gallery_validation_link($validation_file, true, $validation_args);
+}
 ?>
 </body>
 </html>
diff -Naur gallery-1.5.4/ecard_preview.php gallery-1.5.5/ecard_preview.php
--- gallery-1.5.4/ecard_preview.php	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/ecard_preview.php	2006-10-10 14:41:57.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: ecard_preview.php 13338 2006-03-27 15:32:14Z jenst $
+ * $Id: ecard_preview.php 14746 2006-10-10 12:41:57Z jenst $
  */
 ?>
 <?php
@@ -35,6 +35,12 @@
 
 $ecard = getRequestVar('ecard');
 
+if(!isset($gallery->album)) {
+    $pieces = explode('/', $ecard['image_name']);
+    $gallery->album = new Album;
+    $gallery->album->load($pieces[0]);
+}
+
 list($error,$ecard_data_to_parse) = get_ecard_template($ecard["template_name"]);
 
 if (!empty($error)) {
diff -Naur gallery-1.5.4/edit_appearance.php gallery-1.5.5/edit_appearance.php
--- gallery-1.5.4/edit_appearance.php	2006-08-14 09:41:08.000000000 +0200
+++ gallery-1.5.5/edit_appearance.php	2006-09-24 00:51:34.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: edit_appearance.php 14310 2006-08-14 07:41:08Z jenst $
+ * $Id: edit_appearance.php 14595 2006-09-23 22:51:34Z jenst $
  */
 ?>
 <?php
@@ -26,7 +26,7 @@
 
 // Hack check
 if (!$gallery->user->canWriteToAlbum($gallery->album)) {
-    echo _("You are not allowed to perform this action!");
+    echo gTranslate('core', "You are not allowed to perform this action!");
     exit;
 }
 
@@ -53,7 +53,7 @@
             list($status, ${$fieldName}, $infoMessage) =
             sanityCheck(${$fieldName}, $properties[$fieldName]['vartype'], $gallery->app->default[$fieldName]);
             if (!empty($infoMessage)) {
-                $infoMessages[] .= sprintf (_("Problem with input of field '%s'. %s"), $fieldName, $infoMessage);
+                $infoMessages[] .= sprintf (gTranslate('core', "Problem with input of field '%s'. %s"), $fieldName, $infoMessage);
             }
         }
     }
@@ -116,9 +116,9 @@
     $gallery->album->fields["voter_class"] == "Everybody" &&
     sizeof($gallery->album->fields["votes"]) > 0) {
         $error = "<br>" .
-          sprintf(_("Warning: you have changed voters from %s to %s. It is advisable to reset the poll to remove all previous votes."),
-          "<i>". _("Everybody") ."</i>",
-          "<i>". _("Logged in") ."</i>");
+          sprintf(gTranslate('core', "Warning: you have changed voters from %s to %s. It is advisable to reset the poll to remove all previous votes."),
+          "<i>". gTranslate('core', "Everybody") ."</i>",
+          "<i>". gTranslate('core', "Logged in") ."</i>");
     }
     $gallery->album->fields["voter_class"] = $voter_class;
     $gallery->album->fields["poll_scale"] = $poll_scale;
@@ -146,7 +146,7 @@
     }
 
     if (sizeof ($gallery->album->getExtraFields()) < $num_fields) {
-        $gallery->album->setExtraFields(array_pad($gallery->album->getExtraFields(), $num_fields, _("untitled field")));
+        $gallery->album->setExtraFields(array_pad($gallery->album->getExtraFields(), $num_fields, gTranslate('core', "untitled field")));
     }
 
     if (sizeof ($gallery->album->getExtraFields()) > $num_fields) {
@@ -182,8 +182,8 @@
 }
 
 $multiple_choices_EF = array(
-    'Title' => _("Title"),
-    'AltText' => _("Alt Text / onMouseOver")
+    'Title' => gTranslate('core', "Title"),
+    'AltText' => gTranslate('core', "Alt Text / onMouseOver")
 );
 
 $extra_fields = $gallery->album->getExtraFields();
@@ -213,7 +213,7 @@
 
     $customFields["cf_$i"] = array(
         'name' => 'extra_fields[]',
-        'prompt' => sprintf(_("Field %s:"),$i),
+        'prompt' => sprintf(gTranslate('core', "Field %s:"),$i),
         'desc' => '',
         'type' => 'text',
         'value' => $value
@@ -228,7 +228,7 @@
 ?>
 <html>
 <head>
-  <title><?php echo _("Album Properties") ?></title>
+  <title><?php echo gTranslate('core', "Album Properties") ?></title>
   <?php common_header(); ?>
 </head>
 
@@ -293,12 +293,12 @@
 <input type="hidden" name="save" value="1">
 <input type="hidden" name="set_albumName" value="<?php echo $gallery->session->albumName ?>">
 <hr>
-<input type="checkbox" name="setNested" id="setNested" value="1"><label for="setNested"><?php echo _("Apply values to nested albums (except album title and summary).") ?></label>
+<input type="checkbox" name="setNested" id="setNested" value="1"><label for="setNested"><?php echo gTranslate('core', "Apply values to nested albums (except album title and summary).") ?></label>
 <br>
 <br>
-<input type="submit" name="apply" value="<?php echo _("Apply") ?>">
-<input type="reset" value="<?php echo _("Undo") ?>">
-<input type="button" name="close" value="<?php echo _("Close") ?>" onclick='parent.close()'>
+<input type="submit" name="apply" value="<?php echo gTranslate('core', "Apply") ?>">
+<input type="reset" value="<?php echo gTranslate('core', "Undo") ?>">
+<input type="button" name="close" value="<?php echo gTranslate('core', "Close") ?>" onclick='parent.close()'>
 
 </form>
 
diff -Naur gallery-1.5.4/edit_field.php gallery-1.5.5/edit_field.php
--- gallery-1.5.4/edit_field.php	2006-03-28 12:54:53.000000000 +0200
+++ gallery-1.5.5/edit_field.php	2006-11-12 00:10:21.000000000 +0100
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: edit_field.php 13349 2006-03-28 10:54:53Z jenst $
+ * $Id: edit_field.php 15147 2006-11-11 23:10:21Z jenst $
  */
 ?>
 <?php
@@ -60,7 +60,7 @@
 ?>
 	<input type="hidden" name="field" value="<?php echo $field ?>">
 	<input type="hidden" name="set_albumName" value="<?php echo $gallery->session->albumName ?>">
-	<textarea name="data" rows="8" cols="50"><?php echo $gallery->album->fields[$field] ?></textarea>
+	<textarea name="data" rows="10" cols="50"><?php echo $gallery->album->fields[$field] ?></textarea>
 	<p>
 		<input type="submit" name="save" value="<?php echo gTranslate('core', "Save") ?>">
 		<input type="button" name="cancel" value="<?php echo gTranslate('core', "Close Window") ?>" onclick='parent.close()'>
diff -Naur gallery-1.5.4/html_wrap/frames/shadows/pixel_trans.png gallery-1.5.5/html_wrap/frames/shadows/pixel_trans.png
--- gallery-1.5.4/html_wrap/frames/shadows/pixel_trans.png	2003-11-22 19:33:59.000000000 +0100
+++ gallery-1.5.5/html_wrap/frames/shadows/pixel_trans.png	2006-09-04 09:37:37.000000000 +0200
@@ -1,4 +1,3 @@
-‰PNG
+‰PNG
 
-   
-IHDR         (Ë4»   	pHYs     šœ   gAMA  Øëõª    cHRM  n   tY  ë  …ñ  kô  òT  Hâ  _ÐÇ   PLTEÿÿÿ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             #·á   tRNS @æØf   IDATxÚbb 0   ˆœ¸—    IEND®B`‚
\ Pas de fin de ligne à la fin du fichier.
+   IHDR         (Ë4»   	pHYs     šœ   gAMA  Øëõª    cHRM  n   tY  ë  …ñ  kô  òT  Hâ  _ÐÇ   PLTEÿÿÿ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             #·á   tRNS @æØf   IDATxÚbb 0   ˆœ¸—    IEND®B`‚
\ Pas de fin de ligne à la fin du fichier.
diff -Naur gallery-1.5.4/html_wrap/inline_imagewrap.inc gallery-1.5.5/html_wrap/inline_imagewrap.inc
--- gallery-1.5.4/html_wrap/inline_imagewrap.inc	2006-03-27 18:07:16.000000000 +0200
+++ gallery-1.5.5/html_wrap/inline_imagewrap.inc	2006-11-12 00:10:21.000000000 +0100
@@ -1,5 +1,5 @@
 <?php
-// $Id: inline_imagewrap.inc 13340 2006-03-27 16:07:16Z jenst $
+// $Id: inline_imagewrap.inc 15147 2006-11-11 23:10:21Z jenst $
 
 
 //-- shorten the variables for convinience ---
@@ -31,19 +31,27 @@
         $frame = 'none';
 }
 
+if($borderWidth > 0 && $borderColor != '') {
+    $dashedBorder = "border:${borderWidth}px dashed $borderColor";
+    $solidBorder =  "border:${borderWidth}px solid $borderColor";
+}
+
+$style = "margin: 0 auto; width:${imageWidth}px; height:${imageHeight}px";
+
 switch ($frame) {
     // special cases
     case "none":
-	echo $href_tag;
+	   echo "<div class=\"g-photo\" style=\"$style\">$href_tag</div>";
     break;
+
     case "dots":
 ?>
-   <div style="<?php echo "width:${imageWidth}px; border:${borderWidth}px dashed $borderColor;" ?>"><?php echo $href_tag ?></div>
+   <div class="g-photo" style="<?php echo "$style; $dashedBorder" ?>"><?php echo $href_tag ?></div>
 <?php
     break;
     case "solid":
 ?>
-  <div style="<?php echo "width:${imageWidth}px; border: ${borderWidth}px solid $borderColor;" ?>"><?php echo $href_tag ?></div>
+  <div class="g-photo" style="<?php echo "$style; $solidBorder" ?>"><?php echo $href_tag ?></div>
 <?php
     break;
     default: // use frames directory or fallback to none
@@ -56,7 +64,7 @@
 	    $hRR = $imageHeight - $heightRRT - $heightRRB;
 ?>
 
-  <table width="1" border="0" cellspacing="0" cellpadding="0" dir="ltr">
+  <table width="1" border="0" cellspacing="0" cellpadding="0" dir="ltr" style="margin: 0 auto;">
   <tr>
 	<!-- TL -->
 	<td width="<?php echo $widthTL ?>" height="<?php echo $heightTL ?>"><img src="<?php echo "$base/$imageTL" ?>" border="0" width="<?php echo $widthTL ?>" height="<?php echo $heightTL ?>" alt=""></td>
@@ -98,7 +106,7 @@
 	    </table></td>
 	<td><table cellspacing="0" cellpadding="0">
 	     <tr>
-		<td align="center"><?php echo $href_tag ?></td>
+		<td align="center"><div class="g-photo" style="<?php echo $style; ?>"><?php echo $href_tag ?></div></td>
 	     </tr>
 	    </table></td>
 	<td height="100%"><table border="0" cellspacing="0" cellpadding="0">
@@ -141,10 +149,10 @@
 	<td><img src="<?php echo "$base/$imageBR" ?>" border="0" width="<?php echo $widthBR ?>" height="<?php echo $heightBR ?>" alt=""></td>
   </tr>
   </table>
-<?php 
+<?php
     }
     else {
-	echo $href_tag;
+        echo "<div class=\"g-photo\" style=\"$style\">$href_tag</div>";
     }
     break;
 }
diff -Naur gallery-1.5.4/includes/errors/unconfigured.php gallery-1.5.5/includes/errors/unconfigured.php
--- gallery-1.5.4/includes/errors/unconfigured.php	2005-07-19 22:57:25.000000000 +0200
+++ gallery-1.5.5/includes/errors/unconfigured.php	2006-09-09 21:13:40.000000000 +0200
@@ -1,7 +1,7 @@
 <?php
-// $Id: unconfigured.php 10956 2005-07-19 20:57:25Z jenst $
+// $Id: unconfigured.php 14491 2006-09-09 19:13:40Z jenst $
 ?>
-<?php 
+<?php
     doctype();
 ?>
 <html>
@@ -15,18 +15,18 @@
 <p class="header"><?php echo _("Gallery has not been configured!") ?></p>
 
 <p class="sitedesc">
-<?php 
+<?php
     echo _("Gallery must be configured before you can use it.");
 ?>
 </p>
-<table class="sitedesc">
+<table class="sitedesc" style="text-align:left">
 <tr>
 	<td><?php echo _("1."); ?></td>
-	<td><?php echo _("Create an empty file .htaccess and an empty file config.php"); ?></td>
+	<td><?php echo _("Create an empty file .htaccess and an empty file config.php in your Gallery folder."); ?></td>
 </tr>
 <tr>
 	<td><?php echo _("2."); ?></td>
-	<td><?php echo _("Create an albums folder for your pictures and movies."); ?></td>
+	<td><?php echo _("Create an albums folder for your pictures and movies. This folder can be anywhere in your webspace."); ?></td>
 </tr>
 <tr>
 	<td colspan="2" class="emphasis"><?php echo _("Make sure that both files and the folder are read and writeable for your webserver !"); ?></td>
@@ -34,15 +34,17 @@
 </table>
 
 <p>
-<?php 
-    echo sprintf(_("Then start the %sConfiguration Wizard%s."), 
-	'<a href="'. makeGalleryUrl('setup/index.php') .'">', '</a>'); 
+<?php
+    echo sprintf(_("Then start the %sConfiguration Wizard%s."),
+	'<a href="'. makeGalleryUrl('setup/index.php') .'">', '</a>');
     echo '<br>';
     include(dirname(__FILE__) . "/configure_help.php");
 ?>
 </p>
 </div>
-<?php 
+<?php
+    echo sprintf(_("%sNote:%s When you get an 'error 500' when accessing the config wizard, try removing the .htaccess file the setup folder."), '<b>', '</b>');
+    echo "\n<br>";
     echo gallery_validation_link('index.php', true);
 ?>
 </body>
diff -Naur gallery-1.5.4/includes/slideshow/high.inc gallery-1.5.5/includes/slideshow/high.inc
--- gallery-1.5.4/includes/slideshow/high.inc	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/includes/slideshow/high.inc	2006-11-12 00:10:21.000000000 +0100
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: high.inc 13338 2006-03-27 15:32:14Z jenst $
+ * $Id: high.inc 15147 2006-11-11 23:10:21Z jenst $
  */
 ?>
 <?php
@@ -549,33 +549,29 @@
 
             ?>
 
-<table border="0" cellspacing="0" cellpadding="0">
-<tr>
-	<td><script type="text/javascript">
-	<!--
+<div align="center">
+    <script type="text/javascript">
 		firstPhotoURL = document.getElementById("photo_urls_" + 1).href;
 		document.write("<img border=<?php echo $borderwidth ?> bgcolor=<?php echo $borderColor ?> src=\"");
 		document.write(firstPhotoURL);
 		document.write("\" name=slide>");
-	// -->
-	</script></td>
-</tr>
-</table>
-<br>
-
-<script type="text/javascript">
-<!--
-/* show the caption */
-document.write("<div class='pcaption' id='caption'><\/div>");
+    </script>
 
-/* Load the first picture */
-setCaption(photo_captions[1]);
-preload_photo(1);
+    <br>
 
-/* Start the show. */
-play();
-// -->
-</script>
+    <script type="text/javascript">
+    /* show the caption */ -->
+    document.write("<div class='pcaption' id='caption'><\/div>");
+
+    /* Load the first picture */
+    setCaption(photo_captions[1]);
+    preload_photo(1);
+
+    /* Start the show. */
+    play();
+    </script>
+</div>
+<br>
 
 <?php
         } else {
diff -Naur gallery-1.5.4/includes/slideshow/low.inc gallery-1.5.5/includes/slideshow/low.inc
--- gallery-1.5.4/includes/slideshow/low.inc	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/includes/slideshow/low.inc	2006-11-12 00:10:21.000000000 +0100
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: low.inc 13338 2006-03-27 15:32:14Z jenst $
+ * $Id: low.inc 15147 2006-11-11 23:10:21Z jenst $
  */
 
 /*
@@ -217,8 +217,7 @@
 }
 
 function go_to_next_page() {
-
-    var slideShowUrl = "<?php echo makeGalleryUrl('slideshow.php',
+    var slideShowUrl = "<?php echo makeGalleryHeaderUrl('slideshow.php',
 				array('set_albumName' => $gallery->session->albumName, 'mode' => 'low')); ?>";
 
     document.location = slideShowUrl + "&slide_index=" + next_location + "&slide_full=" + full
diff -Naur gallery-1.5.4/index.php gallery-1.5.5/index.php
--- gallery-1.5.4/index.php	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/index.php	2006-10-11 23:29:53.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: index.php 13338 2006-03-27 15:32:14Z jenst $
+ * $Id: index.php 14781 2006-10-11 21:29:53Z jenst $
  */
 ?>
 <?php
@@ -49,8 +49,7 @@
     $phpnuke ||
     !strcmp($op, "modload") || 
     !strcmp($mop, "modload") || 
-    isset($option) || 
-    isset($name)) {
+    isset($option)) {
 	/* 
 	 * Change this variable if your Gallery module has a different
 	 * name in the Nuke or phpBB2 modules directory.
diff -Naur gallery-1.5.4/init.php gallery-1.5.5/init.php
--- gallery-1.5.4/init.php	2006-06-19 14:22:19.000000000 +0200
+++ gallery-1.5.5/init.php	2006-09-16 03:40:49.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: init.php 13849 2006-06-19 12:22:19Z jenst $
+ * $Id: init.php 14535 2006-09-16 01:40:49Z jenst $
 */
 ?>
 <?php
@@ -26,7 +26,7 @@
 $sensitiveList = array('gallery', 'GALLERY_EMBEDDED_INSIDE', 'GALLERY_EMBEDDED_INSIDE_TYPE', 'GLOBALS');
 foreach ($sensitiveList as $sensitive) {
     if (!empty($_REQUEST[$sensitive])) {
-        print _("Security violation") ."\n";
+        echo "Security violation! Override attempt.\n";
         exit;
     }
 }
@@ -93,8 +93,7 @@
 }
 
 /*
- * Now we can catch if were are in GeekLog
- * We also include the common lib file as we need it in initLanguage()
+ * Now we can catch if were are in GeekLog and if yes, include the common lib file.
  *
  * If the old example path is still set, remove it.
 */
@@ -104,9 +103,10 @@
 
 // Verify that the geeklog_dir isn't overwritten with a remote exploit
 if (!empty($gallery->app->geeklog_dir) && !realpath($gallery->app->geeklog_dir)) {
-    print _("Security violation") ."\n";
+    print _("Security violation. Geeklog Dir is invalid.") ."\n";
     exit;
-} elseif (!empty($gallery->app->geeklog_dir)) {
+}
+elseif (!empty($gallery->app->geeklog_dir)) {
     $GALLERY_EMBEDDED_INSIDE='GeekLog';
     $GALLERY_EMBEDDED_INSIDE_TYPE = 'GeekLog';
 
@@ -120,7 +120,8 @@
 if (isset($gallery->app->devMode) && $gallery->app->devMode == 'yes') {
     ini_set("display_errors", "1");
     error_reporting(E_ALL);
-} else {
+}
+else {
     error_reporting(E_ALL & ~E_NOTICE);
 }
 
@@ -162,6 +163,9 @@
 */
 set_magic_quotes_runtime(0);
 
+// We need to init the language before we include the files below, as they contain gettext calls.
+initLanguage();
+
 /* Load classes and session information
  * Note: Some classes and libs are loaded in util.php
 */
@@ -184,7 +188,6 @@
 
 /* Make sure that Gallery is set up properly */
 if ($gallerySanity != NULL) {
-    initLanguage();
     include_once(dirname(__FILE__) . "/includes/errors/$gallerySanity");
     exit;
 }
@@ -221,7 +224,9 @@
                 $gallery->session->username = $user_info["uname"];
                 $gallery->user = $gallery->userDB->getUserByUsername($gallery->session->username);
             }
+
             break;
+
         case 'phpnuke':
             /* we're in phpnuke */
             include_once(dirname(__FILE__) . "/classes/Database.php");
@@ -277,7 +282,9 @@
                 $gallery->session->username = $user_info[$gallery->database{'fields'}{'uname'}];
                 $gallery->user = $gallery->userDB->getUserByUsername($gallery->session->username);
             }
+
             break;
+
         case 'nsnnuke':
             /* we're in nsnnuke */
             include_once(dirname(__FILE__) . "/classes/Database.php");
@@ -324,9 +331,11 @@
                 $gallery->session->username = $user_info[$gallery->database{'fields'}{'uname'}];
                 $gallery->user = $gallery->userDB->getUserByUsername($gallery->session->username);
             }
+
             break;
+
         case 'phpBB2':
-        //print_r($GLOBALS['board_config']['version']);
+            //print_r($GLOBALS['board_config']['version']);
             include_once(dirname(__FILE__) . "/classes/Database.php");
             include_once(dirname(__FILE__) . "/classes/database/mysql/Database.php");
             include_once(dirname(__FILE__) . "/classes/phpbb/UserDB.php");
@@ -358,7 +367,9 @@
             elseif ($gallery->session->username) {
                 $gallery->user = $gallery->userDB->getUserByUsername($gallery->session->username);
             }
+
             break;
+
         case 'mambo':
         case 'joomla':
             include_once(dirname(__FILE__) . '/classes/Database.php');
@@ -385,7 +396,8 @@
                 $mosConfig_dbprefix	= $gallery->session->mambo->mosConfig_dbprefix;
                 $mosConfig_lang		= $gallery->session->mambo->mosConfig_lang;
                 $MOS_GALLERY_PARAMS	= $gallery->session->mambo->MOS_GALLERY_PARAMS;
-            } elseif (!empty($mosConfig_db)) {
+            }
+            elseif (!empty($mosConfig_db)) {
                 $gallery->session->mambo->mosRoot = dirname($_SERVER['PHP_SELF']);
                 if (substr($gallery->session->mambo->mosRoot, -1) != '/') {
                     $gallery->session->mambo->mosRoot .= '/';
@@ -397,15 +409,15 @@
                 $gallery->session->mambo->mosConfig_dbprefix = $mosConfig_dbprefix;
                 $gallery->session->mambo->mosConfig_lang     = $mosConfig_lang;
                 $gallery->session->mambo->MOS_GALLERY_PARAMS = $MOS_GALLERY_PARAMS;
-            } else {
+            }
+            else {
                 echo 'init.php: ' . _("Gallery seems to be inside Mambo, but we couldn't get the necessary info.");
                 exit;
             }
 
             $gallery->database{'mambo'} = new MySQL_Database($mosConfig_host, $mosConfig_user, $mosConfig_password, $mosConfig_db);
             $gallery->database{'user_prefix'} = $mosConfig_dbprefix;
-            $gallery->database{'fields'} =
-            array (
+            $gallery->database{'fields'} = array (
                 'name'  => 'name',
                 'uname' => 'username',
                 'email' => 'email',
@@ -440,7 +452,9 @@
             $results = $db->query('SELECT id FROM ' . $gallery->database{'user_prefix'} . "menu WHERE componentid='$componentId' AND type = 'components' AND published = 1");
             $row = $db->fetch_row($results);
             $MOS_GALLERY_PARAMS['itemid'] = $row[0]; // pick the first one
+
             break;
+
         case 'GeekLog':
             // Cheat, and grab USER information from the global session variables.
             // Hey, it's faster and easier than reading them out of the database.
@@ -467,7 +481,9 @@
             if (isset($gallery->session->username)) {
                 $gallery->user = $gallery->userDB->getUserByUsername($gallery->session->username);
             }
+
             break;
+
         case 'cpgnuke':
             /* we're in CPG-Nuke */
             include_once(dirname(__FILE__) . "/classes/Database.php");
@@ -537,10 +553,17 @@
     $gallery->session->username = "";
 }
 
-/* Now we init the language
- * Its done after initializing the user.
+/**
+ * It maybe, that the user has a different language then the default.
+ * So we reinit the language after initializing the user.
 */
-initLanguage();
+if (!empty($gallery->user)) {
+    $userlanguage = $gallery->user->getDefaultLanguage();
+
+    if($userlanguage != $gallery->language) {
+        initLanguage(true, $userlanguage);
+    }
+}
 
 if (!isset($gallery->session->offline)) {
     $gallery->session->offline = FALSE;
diff -Naur gallery-1.5.4/js/multifile.js.php gallery-1.5.5/js/multifile.js.php
--- gallery-1.5.4/js/multifile.js.php	2006-07-29 05:27:13.000000000 +0200
+++ gallery-1.5.5/js/multifile.js.php	2006-09-02 10:49:28.000000000 +0200
@@ -1,7 +1,7 @@
 <?php
 /**
  * Gallery SVN info
- * $Id: multifile.js.php 14113 2006-07-29 03:27:13Z jenst $
+ * $Id: multifile.js.php 14440 2006-09-02 08:49:28Z jenst $
 */
 ?>
 <script language="JavaScript" type="text/javascript">
@@ -100,6 +100,7 @@
         line.style.textAlign='right';
         if(! (this.count % 2)) {
         	line.style.backgroundColor='white';
+		line.style.color='black';
         }
         var filenameCaptionDiv = document.createElement('div');
         filenameCaptionDiv.style.textAlign='left';
diff -Naur gallery-1.5.4/js/wz_jsgraphics.js gallery-1.5.5/js/wz_jsgraphics.js
--- gallery-1.5.4/js/wz_jsgraphics.js	2005-11-21 22:06:24.000000000 +0100
+++ gallery-1.5.5/js/wz_jsgraphics.js	2006-09-16 01:21:15.000000000 +0200
@@ -1,6 +1,6 @@
 /* This notice must be untouched at all times.
 
-wz_jsgraphics.js    v. 2.33
+wz_jsgraphics.js    v. 2.36
 The latest version is available at
 http://www.walterzorn.com
 or http://www.devira.com
@@ -8,7 +8,7 @@
 
 Copyright (c) 2002-2004 Walter Zorn. All rights reserved.
 Created 3. 11. 2002 by Walter Zorn (Web: http://www.walterzorn.com )
-Last modified: 24. 10. 2005
+Last modified: 21. 6. 2006
 
 Performance optimizations for Internet Explorer
 by Thomas Frank and John Holdsworth.
@@ -70,24 +70,24 @@
 
 function pntCnvDom()
 {
-	var x = document.createRange();
+	var x = this.wnd.document.createRange();
 	x.setStartBefore(this.cnv);
 	x = x.createContextualFragment(jg_fast? this.htmRpc() : this.htm);
-	this.cnv.appendChild(x);
+	if(this.cnv) this.cnv.appendChild(x);
 	this.htm = '';
 }
 
 
 function pntCnvIe()
 {
-	this.cnv.insertAdjacentHTML("BeforeEnd", jg_fast? this.htmRpc() : this.htm);
+	if(this.cnv) this.cnv.insertAdjacentHTML("BeforeEnd", jg_fast? this.htmRpc() : this.htm);
 	this.htm = '';
 }
 
 
 function pntCnvIhtm()
 {
-	this.cnv.innerHTML += this.htm;
+	if(this.cnv) this.cnv.innerHTML += this.htm;
 	this.htm = '';
 }
 
@@ -892,8 +892,8 @@
 		this.htm += '<div style="position:absolute;'+
 			'left:' + x + 'px;'+
 			'top:' + y + 'px;'+
-			'width:' +  w + ';'+
-			'height:' + h + ';">'+
+			'width:' +  w + 'px;'+
+			'height:' + h + 'px;">'+
 			'<img src="' + imgSrc + '" width="' + w + '" height="' + h + '"' + (a? (' '+a) : '') + '>'+
 			'<\/div>';
 	};
diff -Naur gallery-1.5.4/js/wz_tooltip.js gallery-1.5.5/js/wz_tooltip.js
--- gallery-1.5.4/js/wz_tooltip.js	2005-11-21 22:06:24.000000000 +0100
+++ gallery-1.5.5/js/wz_tooltip.js	2006-09-16 01:21:15.000000000 +0200
@@ -1,18 +1,23 @@
+/**
+ * Gallery SVN ID:
+ * $Id: wz_tooltip.js 14533 2006-09-15 23:21:15Z jenst $
+*/
+
 /* This notice must be untouched at all times.
 
-wz_tooltip.js    v. 3.34
+wz_tooltip.js    v. 3.38
 
 The latest version is available at
 http://www.walterzorn.com
 or http://www.devira.com
 or http://www.walterzorn.de
 
-Copyright (c) 2002-2004 Walter Zorn. All rights reserved.
+Copyright (c) 2002-2005 Walter Zorn. All rights reserved.
 Created 1. 12. 2002 by Walter Zorn (Web: http://www.walterzorn.com )
-Last modified: 9. 9. 2005
+Last modified: 9. 12. 2005
 
 Cross-browser tooltips working even in Opera 5 and 6,
-as well as in NN 4, Gecko-Browsers, IE4+, Opera 7 and Konqueror.
+as well as in NN 4, Gecko-Browsers, IE4+, Opera 7+ and Konqueror.
 No onmouseouts required.
 Appearance of tooltips can be individually configured
 via commands within the onmouseovers.
@@ -32,6 +37,8 @@
 see http://www.gnu.org/copyleft/lesser.html
 */
 
+
+
 ////////////////  GLOBAL TOOPTIP CONFIGURATION  /////////////////////
 var ttAbove       = false;        // tooltip above mousepointer? Alternative: true
 var ttBgColor     = "#e6ecff";
@@ -62,14 +69,14 @@
 
 //////////////  TAGS WITH TOOLTIP FUNCTIONALITY  ////////////////////
 // List may be extended or shortened:
-var tt_tags = new Array("a","area","b","big","caption","center","code","dd","div","dl","dt","em","h1","h2","h3","h4","h5","h6","i","img","input","li","map","ol","p","pre","s","small","span","strike","strong","sub","sup","table","td","th","tr","tt","u","var","ul","layer");
+var tt_tags = new Array("a","area","b","big","caption","center","code","dd","div","dl","dt","em","h1","h2","h3","h4","h5","h6","i","img","input","li","map","ol","p","pre","s", "select", "small","span","strike","strong","sub","sup","table","td","th","tr","tt","u","var","ul","layer");
 /////////////////////////////////////////////////////////////////////
 
 
 
 ///////// DON'T CHANGE ANYTHING BELOW THIS LINE /////////////////////
-var tt_obj,                // current tooltip
-tt_ifrm,                   // iframe to cover windowed controls in IE
+var tt_obj = null,         // current tooltip
+tt_ifrm = null,            // iframe to cover windowed controls in IE
 tt_objW = 0, tt_objH = 0,  // width and height of tt_obj
 tt_objX = 0, tt_objY = 0,
 tt_offX = 0, tt_offY = 0,
@@ -80,7 +87,7 @@
 tt_act = false,            // tooltip visibility flag
 tt_sub = false,            // true while tooltip below mousepointer
 tt_u = "undefined",
-tt_mf,                     // stores previous mousemove evthandler
+tt_mf = null,              // stores previous mousemove evthandler
 // Opera: disable href when hovering <a>
 tt_tag = null;             // stores hovered dom node, href and previous statusbar txt
 
@@ -93,7 +100,7 @@
 tt_op6 = tt_op && !document.defaultView,
 tt_op7 = tt_op && !tt_op6,
 tt_ie = tt_n.indexOf("msie") != -1 && document.all && tt_db && !tt_op,
-tt_ie6 = tt_ie && parseFloat(tt_nv.substring(tt_nv.indexOf("MSIE")+5)) >= 5.5;
+tt_ie6 = tt_ie && parseFloat(tt_nv.substring(tt_nv.indexOf("MSIE")+5)) >= 5.5,
 tt_n4 = (document.layers && typeof document.classes != tt_u),
 tt_n6 = (!tt_op && document.defaultView && typeof document.defaultView.getComputedStyle != tt_u),
 tt_w3c = !tt_ie && !tt_n6 && !tt_op && document.getElementById;
@@ -158,7 +165,7 @@
 	{
 		t_y += '<tr><td style="padding-left:3px;padding-right:3px;" align="'+t_algn+'"><font color="'+t_titc+'" face="'+t_ff+'" ' +
 			'style="color:'+t_titc+';font-family:'+t_ff+';font-size:'+t_fsz+';"><b>' +
-			(tt_n4? '&nbsp;' : '')+t_tit+'<\/b><\/font><\/td><\/tr>';
+			(tt_n4? '&nbsp;' : '')+t_tit+'</b></font></td></tr>';
 	}
 	t_y += '<tr><td><table border="0" cellpadding="'+t_padd+'" cellspacing="'+t_bw+'" width="100%">' +
 		'<tr><td'+(t_bgc? (' bgcolor="'+t_bgc+'"') : '')+(t_bgimg? ' background="'+t_bgimg+'"' : '')+' style="text-align:'+t_algn+';';
@@ -167,25 +174,25 @@
 		' style="color:'+t_fc+';font-family:'+t_ff+';font-size:'+t_fsz+';font-weight:'+t_fwght+';">';
 	if(t_fwght == 'bold') t_y += '<b>';
 	t_y += txt;
-	if(t_fwght == 'bold') t_y += '<\/b>';
-	t_y += '<\/font><\/td><\/tr><\/table><\/td><\/tr><\/table>';
+	if(t_fwght == 'bold') t_y += '</b>';
+	t_y += '</font></td></tr></table></td></tr></table>';
 	if(t_shw)
 	{
 		var t_spct = Math.round(t_shw*1.3);
 		if(tt_n4)
 		{
-			t_y += '<layer bgcolor="'+t_shc+'" left="'+t_w+'" top="'+t_spct+'" width="'+t_shw+'" height="0"><\/layer>' +
-				'<layer bgcolor="'+t_shc+'" left="'+t_spct+'" align="bottom" width="'+(t_w-t_spct)+'" height="'+t_shw+'"><\/layer>';
+			t_y += '<layer bgcolor="'+t_shc+'" left="'+t_w+'" top="'+t_spct+'" width="'+t_shw+'" height="0"></layer>' +
+				'<layer bgcolor="'+t_shc+'" left="'+t_spct+'" align="bottom" width="'+(t_w-t_spct)+'" height="'+t_shw+'"></layer>';
 		}
 		else
 		{
 			t_optx = tt_n6? '-moz-opacity:0.85;' : tt_ie? 'filter:Alpha(opacity=85);' : 'opacity:0.85;';
-			t_y += '<div id="'+t_id+'R" style="position:absolute;background:'+t_shc+';left:'+t_w+'px;top:'+t_spct+'px;width:'+t_shw+'px;height:1px;overflow:hidden;'+t_optx+'"><\/div>' +
-				'<div style="position:relative;background:'+t_shc+';left:'+t_spct+'px;top:0px;width:'+(t_w-t_spct)+'px;height:'+t_shw+'px;overflow:hidden;'+t_optx+'"><\/div>';
+			t_y += '<div id="'+t_id+'R" style="position:absolute;background:'+t_shc+';left:'+t_w+'px;top:'+t_spct+'px;width:'+t_shw+'px;height:1px;overflow:hidden;'+t_optx+'"></div>' +
+				'<div style="position:relative;background:'+t_shc+';left:'+t_spct+'px;top:0px;width:'+(t_w-t_spct)+'px;height:'+t_shw+'px;overflow:hidden;'+t_optx+'"></div>';
 		}
 	}
-	return(t_y+'<\/div>' +
-		(tt_ie6 ? '<iframe id="TTiEiFrM" src="javascript:false" scrolling="no" frameborder="0" style="filter:Alpha(opacity=0);position:absolute;top:0px;left:0px;display:none;"><\/iframe>' : ''));
+	return(t_y+'</div>' +
+		(tt_ie6 ? '<iframe id="TTiEiFrM" src="javascript:false" scrolling="no" frameborder="0" style="filter:Alpha(opacity=0);position:absolute;top:0px;left:0px;display:none;"></iframe>' : ''));
 }
 function tt_EvX(t_e)
 {
@@ -224,14 +231,11 @@
 }
 function tt_ShowIfrm(t_x)
 {
-	if(!tt_ie6 || !tt_obj) return;
-	tt_ifrm = document.getElementById("TTiEiFrM");
-	//tt_obj.style.display = t_x? "block" : "none";
+	if(!tt_obj || !tt_ifrm) return;
 	if(t_x)
 	{
 		tt_ifrm.style.width = tt_objW+'px';
 		tt_ifrm.style.height = tt_objH+'px';
-		tt_ifrm.style.zIndex = tt_obj.style.zIndex - 1;
 		tt_ifrm.style.display = "block";
 	}
 	else tt_ifrm.style.display = "none";
@@ -263,8 +267,12 @@
 function tt_SetDivZ()
 {
 	var t_i = tt_obj.style || tt_obj;
-	if(window.dd && dd.z)
-		t_i.zIndex = Math.max(dd.z+1, t_i.zIndex);
+	if(t_i)
+	{
+		if(window.dd && dd.z)
+			t_i.zIndex = Math.max(dd.z+1, t_i.zIndex);
+		if(tt_ifrm) tt_ifrm.style.zIndex = t_i.zIndex-1;
+	}
 }
 function tt_SetDivPos(t_x, t_y)
 {
@@ -280,33 +288,33 @@
 }
 function tt_ShowDiv(t_x)
 {
+	tt_ShowIfrm(t_x);
 	if(tt_n4) tt_obj.visibility = t_x? 'show' : 'hide';
 	else tt_obj.style.visibility = t_x? 'visible' : 'hidden';
 	tt_act = t_x;
-	tt_ShowIfrm(t_x);
 }
 function tt_OpDeHref(t_e)
 {
-		var t_tag;
+	var t_tag;
 	if(t_e)
+	{
+		t_tag = t_e.target;
+		while(t_tag)
 		{
-				t_tag = t_e.target;
-				while(t_tag)
-				{
-						if(t_tag.hasAttribute("href"))
-					{
-						tt_tag = t_tag
-						tt_tag.t_href = tt_tag.getAttribute("href");
-						tt_tag.removeAttribute("href");
-						tt_tag.style.cursor = "hand";
-						tt_tag.onmousedown = tt_OpReHref;
-						tt_tag.stats = window.status;
-						window.status = tt_tag.t_href;
-						break;
-					}
-					t_tag = t_tag.parentElement;
-				}
+			if(t_tag.hasAttribute("href"))
+			{
+				tt_tag = t_tag
+				tt_tag.t_href = tt_tag.getAttribute("href");
+				tt_tag.removeAttribute("href");
+				tt_tag.style.cursor = "hand";
+				tt_tag.onmousedown = tt_OpReHref;
+				tt_tag.stats = window.status;
+				window.status = tt_tag.t_href;
+				break;
+			}
+			t_tag = t_tag.parentElement;
 		}
+	}
 }
 function tt_OpReHref()
 {
@@ -322,8 +330,7 @@
 	if(tt_obj) tt_Hide();
 	tt_mf = document.onmousemove || null;
 	if(window.dd && (window.DRAG && tt_mf == DRAG || window.RESIZE && tt_mf == RESIZE)) return;
-	var t_uf = document.onmouseup || null, t_sh, t_h;
-	if(tt_mf && t_uf) t_uf(t_e);
+	var t_sh, t_h;
 
 	tt_obj = tt_GetDiv(t_id);
 	if(tt_obj)
@@ -426,7 +433,7 @@
 {
 	if(!(tt_op || tt_n4 || tt_n6 || tt_ie || tt_w3c)) return;
 
-	var htm = tt_n4? '<div style="position:absolute;"><\/div>' : '',
+	var htm = tt_n4? '<div style="position:absolute;"></div>' : '',
 	tags,
 	t_tj,
 	over,
@@ -471,5 +478,6 @@
 		}
 	}
 	document.write(htm);
+	if(document.getElementById) tt_ifrm = document.getElementById("TTiEiFrM");
 }
 tt_Init();
diff -Naur gallery-1.5.4/lib/album.php gallery-1.5.5/lib/album.php
--- gallery-1.5.4/lib/album.php	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/lib/album.php	2006-09-16 01:21:56.000000000 +0200
@@ -2,22 +2,22 @@
 /*
  * Gallery - a web based photo album viewer and editor
  * Copyright (C) 2000-2006 Bharat Mediratta
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or (at
  * your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: album.php 13338 2006-03-27 15:32:14Z jenst $
+ * $Id: album.php 14534 2006-09-15 23:21:56Z jenst $
  */
 
 /**
@@ -35,15 +35,15 @@
  */
 function getPropertyDefault($property, $album = false, $global = false) {
     global $gallery;
-    
+
     $retProperty = false;
-    
+
     if ($album) {
         if ($global) {
             if(isset($gallery->app->default[$property])) {
                 $retProperty = $gallery->app->default[$property];
             }
-        }    
+        }
         else {
             if(isset($album->fields[$property])) {
                 $retProperty = $album->fields[$property];
@@ -53,9 +53,9 @@
     elseif ($global) {
         $retProperty = $gallery->app->$property;
     }
-    
+
     return $retProperty;
-} 
+}
 
 function createNewAlbum( $parentName, $newAlbumName = '', $newAlbumTitle = '', $newAlbumDesc = '') {
 	global $gallery;
@@ -171,5 +171,4 @@
 
 	return $parentNameArray;
 }
-
 ?>
\ Pas de fin de ligne à la fin du fichier.
diff -Naur gallery-1.5.4/lib/content.php gallery-1.5.5/lib/content.php
--- gallery-1.5.4/lib/content.php	2006-08-14 09:49:09.000000000 +0200
+++ gallery-1.5.5/lib/content.php	2006-09-04 18:54:53.000000000 +0200
@@ -17,7 +17,7 @@
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 *
-* $Id: content.php 14311 2006-08-14 07:49:09Z jenst $
+* $Id: content.php 14459 2006-09-04 16:54:53Z jenst $
 */
 
 /**
@@ -87,7 +87,7 @@
             $addType = (isset($gallery->app->comments_addType) ? $gallery->app->comments_addType : "popup");
         }
         if ($addType == 'inside') {
-            echo '<br><form action="'. $page_url .'" name="theform" method="POST">';
+            echo '<br><form action="'. $page_url .'" name="theform" method="post">';
             drawCommentAddForm($commenter_name);
             echo '</form>';
         }
diff -Naur gallery-1.5.4/lib/Form.php gallery-1.5.5/lib/Form.php
--- gallery-1.5.4/lib/Form.php	2006-08-14 09:49:09.000000000 +0200
+++ gallery-1.5.5/lib/Form.php	2006-09-04 18:54:53.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: Form.php 14311 2006-08-14 07:49:09Z jenst $
+ * $Id: Form.php 14459 2006-09-04 16:54:53Z jenst $
  */
 ?>
 <?php
@@ -164,7 +164,7 @@
  * makeFormIntro("add_photos.php",
  *                      array("name" => "count_form",
  *                              "enctype" => "multipart/form-data",
- *                              "method" => "POST"));
+ *                              "method" => "post"));
  *
  * If no method is given in attrList, then "POST" is used.
  */
@@ -178,7 +178,7 @@
     $tmp = (sizeof($result) > 1) ? $result[1] :'';
 
     $defaults = array(
-		'method' => 'POST',
+		'method' => 'post',
 		'name'	 => 'g1_form'
     );
 
@@ -228,7 +228,7 @@
         'gallery_popup' => true
     );
 
-    $colorPickerUrl = makeGalleryUrl('colorpicker.php', $args);
+    $colorPickerUrl = makeGalleryUrl('lib/colorpicker.php', $args);
     $imgColorpicker = '<img src="'. getImagePath('colorpicker.png') .'" height="16" alt="colorpicker">';
 
     $html = "\n<table cellspacing=\"0\">";
diff -Naur gallery-1.5.4/lib/imageManipulation.php gallery-1.5.5/lib/imageManipulation.php
--- gallery-1.5.4/lib/imageManipulation.php	2006-05-02 11:59:13.000000000 +0200
+++ gallery-1.5.5/lib/imageManipulation.php	2006-10-12 01:07:51.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: imageManipulation.php 13579 2006-05-02 09:59:13Z jenst $
+ * $Id: imageManipulation.php 14787 2006-10-11 23:07:51Z jenst $
  */
 
 /**
@@ -310,10 +310,18 @@
     $wmAlignX = floor($wmAlignX);
     $wmAlignY = floor($wmAlignY);
 
+    if ($wmAlignX > 0) {
+        $wmAlignX = '+'. $wmAlignX;
+    }
+
+    if ($wmAlignY > 0) {
+        $wmAlignY = '+'. $wmAlignY;
+    }
+
     // Execute
     switch($gallery->app->graphics) {
         case 'ImageMagick':
-            $srcOperator = "-geometry +$wmAlignX+$wmAlignY $overlayFile";
+            $srcOperator = "-geometry $wmAlignX$wmAlignY $overlayFile";
             exec_wrapper(ImCmd('composite', $srcOperator, $src, '', $out));
         break;
 
diff -Naur gallery-1.5.4/lib/lang.php gallery-1.5.5/lib/lang.php
--- gallery-1.5.4/lib/lang.php	2006-05-02 11:59:13.000000000 +0200
+++ gallery-1.5.5/lib/lang.php	2006-10-12 23:23:28.000000000 +0200
@@ -2,23 +2,23 @@
 /*
  * Gallery - a web based photo album viewer and editor
  * Copyright (C) 2000-2006 Bharat Mediratta
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or (at
  * your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: lang.php 13579 2006-05-02 09:59:13Z jenst $
- */
+ * $Id: lang.php 14799 2006-10-12 21:23:28Z jenst $
+*/
 
 /**
  * @package	Language
@@ -30,13 +30,13 @@
  * 1.) We can use %s and %d in translation
  * 2.) We can use a special "none" without modifying the plural definition.
  *
- * @param	string    $domain
- * @param	string    $singular
- * @param	string    $plural
- * @param	int       $count
- * @param	string    $nonetext
- * @return      string    $translation	string with translation on success, otherwise '--- TranslationError --'
- * @author	Jens Tkotz
+ * @param   string  $domain
+ * @param   string  $singular
+ * @param   string  $plural
+ * @param   int     $count
+ * @param   string  $nonetext
+ * @return  string  $translation	string with translation on success, otherwise '--- TranslationError --'
+ * @author  Jens Tkotz
  */
 function gTranslate($domain = null, $singular, $plural = '', $count = null, $nonetext = '') {
     global $gallery;
@@ -50,29 +50,29 @@
         return $nonetext;
     }
 
-    if (gettext_installed()) {        	
-	$gDomain = $gallery->language. "-gallery_$domain";
-	bindtextdomain($gDomain, dirname(dirname(__FILE__)) . '/locale');
-	textdomain($gDomain);
+    if (gettext_installed()) {
+        $gDomain = $gallery->language. "-gallery_$domain";
+        bindtextdomain($gDomain, dirname(dirname(__FILE__)) . '/locale');
+        textdomain($gDomain);
     }
 
     if(!$plural) {
-    	if (gettext_installed()) {        	
-        	$translation = dgettext($gDomain, $singular);
-    	}
-    	else {
-    		$translation = _($singular);
-    	}
+        if (gettext_installed()) {
+            $translation = dgettext($gDomain, $singular);
+        }
+        else {
+            $translation = _($singular);
+        }
     }
     else {
         if (!empty($count) && intval($count) == 0) {
             $count = 1;
         }
         if (ngettext_installed()) {
-        	$translation = sprintf(dngettext($gDomain, $singular, $plural, $count), $count);
+            $translation = sprintf(dngettext($gDomain, $singular, $plural, $count), $count);
         }
         else {
-        	$translation = sprintf(ngettext($singular, $plural, $count), $count);
+            $translation = sprintf(ngettext($singular, $plural, $count), $count);
         }
     }
     return $translation;
@@ -99,7 +99,8 @@
         $lang_pieces = explode ("-",$lang[0]);
         if (strlen($lang[0]) >2) {
             $browserLang = strtolower($lang_pieces[0]). "_".strtoupper($lang_pieces[1]) ;
-        } else {
+        }
+        else {
             $browserLang = $lang[0];
         }
     }
@@ -115,15 +116,13 @@
  * - language
  * - charset
  * - direction
- * - alignment
 */
 function setLangDefaults($nls) {
-	global $gallery;
+    global $gallery;
 
-	$gallery->language 	= 'en_US';
-	$gallery->charset  	= $nls['default']['charset'];
-	$gallery->direction	= $nls['default']['direction'];
-	$gallery->align		= $nls['default']['alignment'];
+    $gallery->language 	= 'en_US';
+    $gallery->charset  	= $nls['default']['charset'];
+    $gallery->direction	= $nls['default']['direction'];
 }
 
 /**
@@ -132,70 +131,70 @@
  * @author Jens Tkotz
  */
 function getEnvLang() {
-	global $GALLERY_EMBEDDED_INSIDE_TYPE;
+    global $GALLERY_EMBEDDED_INSIDE_TYPE;
+
+    global $board_config;                       /* Needed for phpBB2    		*/
+    global $_CONF;                              /* Needed for GeekLog   		*/
+    global $mosConfig_locale, $mosConfig_lang;  /* Needed for Mambo / Joomla!	*/
+    global $currentlang;                        /* Needed for CPGNuke		*/
+
+    $envLang = NULL;
+
+    switch ($GALLERY_EMBEDDED_INSIDE_TYPE) {
+        case 'postnuke':
+            if (!empty($_SESSION['PNSVlang'])) {
+                $envLang = $_SESSION['PNSVlang'];
+            }
+            else  {
+                $envLang = pnSessionGetVar('lang');
+            }
+            break;
+
+        case 'phpnuke':
+        case 'nsnnuke':
+            if (isset($_COOKIE['lang'])) {
+                $envLang = $_COOKIE['lang'];
+            }
+            break;
 
-	global $board_config;                       /* Needed for phpBB2    		*/
-	global $_CONF;                              /* Needed for GeekLog   		*/
-	global $mosConfig_locale, $mosConfig_lang;  /* Needed for Mambo / Joomla!	*/
-	global $currentlang;                        /* Needed for CPGNuke		*/
-
-	$envLang = NULL;
-
-	switch ($GALLERY_EMBEDDED_INSIDE_TYPE) {
-		case 'postnuke':
-			if (!empty($_SESSION['PNSVlang'])) {
-				$envLang = $_SESSION['PNSVlang'];
-			}
-			else  {
-				$envLang = pnSessionGetVar('lang');
-			}
-		break;
-
-		case 'phpnuke':
-		case 'nsnnuke':
-			if (isset($_COOKIE['lang'])) {
-				$envLang = $_COOKIE['lang'];
-			}
-		break;
-
-		case 'phpBB2':
-			if (isset($board_config['default_lang'])) {
-				$envLang = $board_config['default_lang'];
-			}
-		break;
-
-		case 'GeekLog':
-			/* Note: $_CONF is not a Superglobal ;) */
-			if (isset($_CONF['language'])) {
-				$envLang = $_CONF['language'];
-			} else if (isset($_CONF['locale'])) {
-				$envLang = $_CONF['locale'];
-			}
-		break;
-
-		case 'mambo':
-		case 'joomla':
-			$envLang = $mosConfig_lang;
-			/* if Alias and Lang are equal, then now Alias was defined */
-			if (getLanguageAlias($envLang) == $envLang) {
-				if (isset($mosConfig_locale)){
-					$envLang = $mosConfig_locale;
-				}
-			}
-		break;
-
-		case 'cpgnuke':
-			if (isset($currentlang)){
-				$envLang = $currentlang;
-			}
-		break;
-
-		default:
-			$envLang = NULL;
-		break;
-	}
+        case 'phpBB2':
+            if (isset($board_config['default_lang'])) {
+                $envLang = $board_config['default_lang'];
+            }
+            break;
+
+        case 'GeekLog':
+            /* Note: $_CONF is not a Superglobal ;) */
+            if (isset($_CONF['language'])) {
+                $envLang = $_CONF['language'];
+            } else if (isset($_CONF['locale'])) {
+                $envLang = $_CONF['locale'];
+            }
+            break;
+
+        case 'mambo':
+        case 'joomla':
+            $envLang = $mosConfig_lang;
+            /* if Alias and Lang are equal, then now Alias was defined */
+            if (getLanguageAlias($envLang) == $envLang) {
+                if (isset($mosConfig_locale)){
+                    $envLang = $mosConfig_locale;
+                }
+            }
+            break;
+
+        case 'cpgnuke':
+            if (isset($currentlang)){
+                $envLang = $currentlang;
+            }
+            break;
+
+        default:
+            $envLang = NULL;
+            break;
+    }
 
-	return $envLang;
+    return $envLang;
 }
 
 /**
@@ -206,8 +205,9 @@
  */
 function getDefaultLanguage() {
     global $gallery;
-    if(isset($gallery->app->default_language) 
-      && $gallery->app->default_language != 'browser') {
+
+    if(isset($gallery->app->default_language)
+    && $gallery->app->default_language != 'browser') {
         $defaultLanguage = $gallery->app->default_language;
     }
     else {
@@ -224,25 +224,34 @@
  * Gallery runs in the language the Environment use.
 */
 function forceStaticLang() {
-	global $GALLERY_EMBEDDED_INSIDE_TYPE;
-	global $gallery;
+    global $GALLERY_EMBEDDED_INSIDE_TYPE;
+    global $gallery;
 
-	$useStatic = array('joomla', 'mambo', 'phpBB2', 'GeekLog');
+    $useStatic = array('joomla', 'mambo', 'phpBB2', 'GeekLog');
 
-	if (in_array($GALLERY_EMBEDDED_INSIDE_TYPE, $useStatic)) {
-		$gallery->app->ML_mode = 1;
-	}
-}	
+    if (in_array($GALLERY_EMBEDDED_INSIDE_TYPE, $useStatic)) {
+        $gallery->app->ML_mode = 1;
+    }
+}
 
 /**
  * This function does the initialization of language related things.
  * @author Jens Tkotz <jens@peino.de>
  */
-function initLanguage($sendHeader=true) {
+function initLanguage($sendHeader = true, $userlanguage = '') {
     static $languages_initialized = false;
 
     global $gallery, $GALLERY_EMBEDDED_INSIDE, $GALLERY_EMBEDDED_INSIDE_TYPE;
 
+    /**
+     * Init was already done. Just return, or do a reinit
+     * if the giving userlanguage is different than the current language
+    */
+    if($languages_initialized &&
+      (empty($userlanguage) || (isset($gallery->app->ML_mode) && $gallery->app->ML_mode != 2))) {
+            return;
+    }
+
     /* $locale is *NUKEs locale var*/
     global $locale ;
 
@@ -255,7 +264,7 @@
     If so, we skip language settings at all */
 
     /* Mode 0 means no Multilanguage at all. */
-    if (isset($gallery->app->ML_mode) && $gallery->app->ML_mode == 0 && !$languages_initialized) {
+    if (isset($gallery->app->ML_mode) && $gallery->app->ML_mode == 0) {
         /* Maybe PHP has no (n)gettext, then we have to substitute _() and ngettext*/
         if (!gettext_installed()) {
             function _($string) {
@@ -263,10 +272,11 @@
             }
         }
         if (!ngettext_installed()) {
-            function ngettext($singular, $quasi_plural,$num=0) {
+            function ngettext($singular, $quasi_plural,$num = 0) {
                 if ($num == 1) {
                     return $singular;
-                } else {
+                }
+                else {
                     return $quasi_plural;
                 }
             }
@@ -297,53 +307,57 @@
 
         if (!empty($newlang)) {
             /* Set Language to the User selected language. */
-            $gallery->language=$newlang;
-        } else {
+            $gallery->language = $newlang;
+        }
+        else {
             /** No new language.
 			 * Lets see in which Environment were are and look for a language.
 			 * Lets try to determ the used language
-			 */ 
+			 */
             $gallery->language = getEnvLang();
         }
-    } else {
+    }
+    else {
         /** We're not embedded.
 		 * If we got a ML_mode from config.php we use it
 		 * If not we use Mode 2 (Browserlanguage)
 		 */
         if (isset($gallery->app->ML_mode)) {
             $ML_mode = $gallery->app->ML_mode;
-        } else {
+        }
+        else {
             $ML_mode = 2;
         }
 
         switch ($ML_mode) {
             case 1:
-            /* Static Language */
+                /* Static Language */
                 $gallery->language = getDefaultLanguage();
-            break;
-            
+                break;
+
             case 3:
-            /* Does the user want a new language ?*/
-            if (!empty($newlang)) {
-                /* Set Language to the User selected language.*/
-                $gallery->language = $newlang;
-            } elseif (isset($gallery->session->language)) {
-                /* Maybe we already have a language*/
-                $gallery->language = $gallery->session->language;
-            } else {
-                $gallery->language = getDefaultLanguage();
-            }
-            break;
-            
+                /* Does the user want a new language ?*/
+                if (!empty($newlang)) {
+                    /* Set Language to the User selected language.*/
+                    $gallery->language = $newlang;
+                }
+                elseif (isset($gallery->session->language)) {
+                    /* Maybe we already have a language*/
+                    $gallery->language = $gallery->session->language;
+                }
+                else {
+                    $gallery->language = getDefaultLanguage();
+                }
+                break;
+
             default:
-            /* Use Browser Language or Userlanguage when mode 2 or any other (wrong) mode*/
-            $gallery->browser_language = getBrowserLanguage();
-            $gallery->language = $gallery->browser_language;
+                /* Use Browser Language or Userlanguage when mode 2 or any other (wrong) mode*/
+                $gallery->language = getBrowserLanguage();
 
-            if (!empty($gallery->user) && $gallery->user->getDefaultLanguage() != '') {
-                $gallery->language = $gallery->user->getDefaultLanguage();
-            }
-            break;
+                if (!empty($gallery->user) && $gallery->user->getDefaultLanguage() != '') {
+                    $gallery->language = $gallery->user->getDefaultLanguage();
+                }
+                break;
         }
     }
 
@@ -371,7 +385,8 @@
     /* locale*/
     if (isset($gallery->app->locale_alias[$gallery->language])) {
         $gallery->locale = $gallery->app->locale_alias["$gallery->language"];
-    } else {
+    }
+    else {
         $gallery->locale = $gallery->language;
     }
 
@@ -379,7 +394,7 @@
     $locale = $gallery->locale;
 
     /* Check defaults */
-    $checklist = array('direction', 'charset', 'alignment') ;
+    $checklist = array('direction', 'charset') ;
 
     /**
      * This checks wether the previously defined values are available.
@@ -390,7 +405,8 @@
         /* if no ... is given, use default*/
         if ( !isset($nls[$check][$gallery->language])) {
             $gallery->$check = $nls['default'][$check] ;
-        } else {
+        }
+        else {
             $gallery->$check = $nls[$check][$gallery->language] ;
         }
     }
@@ -398,9 +414,10 @@
     /* When all is done do the settings*/
 
     /* There was previously a != SUNOS check around the LANG= line.  We've determined that it was
-     probably a bogus bug report, since all documentation says this is fine.*/
+    probably a bogus bug report, since all documentation says this is fine.*/
     putenv("LANG=". $gallery->language);
     putenv("LANGUAGE=". $gallery->language);
+
     /* This line was added in 1.5-cvs-b190 to fix problems on FreeBSD 4.10*/
     putenv("LC_ALL=". $gallery->language);
 
@@ -425,157 +442,174 @@
     if (gettext_installed()) {
         bindtextdomain($gallery->language. "-gallery_". where_i_am(), dirname(dirname(__FILE__)) . '/locale');
         textdomain($gallery->language. "-gallery_". where_i_am());
-
-    } elseif (!$languages_initialized) {
-        emulate_gettext();
+    }
+    else {
+        emulate_gettext($languages_initialized);
     }
 
     // We test this separate because ngettext() is only available in PHP >=4.2.0 but _() in all PHP4
-    if (!ngettext_installed() && !$languages_initialized) {
-        emulate_ngettext();
+    if (!ngettext_installed()) {
+        emulate_ngettext($languages_initialized);
     }
 
     $languages_initialized = true;
 }
 
-
 function getTranslationFile() {
 
-	global $gallery;
-	static $translationfile;
+    global $gallery;
+    static $translationfile;
 
-	if (empty($translationfile)) {
-		$filename=dirname(dirname(__FILE__)) . '/locale/' . $gallery->language . '/'. $gallery->language . '-gallery_' .  where_i_am()  . '.po';
-		$translationfile=file($filename);
-	}
+    if (empty($translationfile)) {
+        $filename = dirname(dirname(__FILE__)) . '/locale/' .
+        $gallery->language . '/'.
+        $gallery->language . '-gallery_' .  where_i_am()  . '.po';
+        $translationfile = file($filename);
+    }
 
-return $translationfile;
+    return $translationfile;
 }
 
 /** Substitute ngettext function
  * NOTE: this is the first primitive Step !!
  * It fully ignores the plural definition !!
 */
-function emulate_ngettext() {
+function emulate_ngettext($languages_initialized = false) {
+    global $translation;
+    global $gallery;
+
+    if (in_array($gallery->language,array_keys(gallery_languages())) &&
+        $gallery->language != 'en_US') {
 
+        $lines = getTranslationFile();
+        foreach ($lines as $key => $value) {
+            // We trim the String to get rid of cr/lf
+            $value = trim($value);
+            if (stristr($value, "msgid") &&
+                ! stristr($lines[$key-1],"fuzzy") && !stristr($value,"msgid_plural")) {
+                //  echo "\n<br>---SID". $value;
+                //  echo "\n<br>---PID". $lines[$key+1];
+                if (stristr($lines[$key+1],"msgid_plural")) {
+                    $singular_key=substr($value, 7,-1);
+                    $translation[$singular_key]=substr(trim($lines[$key+2]),11,-1);
+                    $plural_key=substr(trim($lines[$key+1]), 14,-1);
+                    $translation[$plural_key]=substr(trim($lines[$key+3]),11,-1);
+                    //	echo "\n<br>SK". $singular_key;
+                    //	echo "\n<br>ST". $translation[$singular_key];
+                    //	echo "\n<br>PK". $plural_key;
+                    //	echo "\n<br>PT". $translation[$plural_key];
+                }
+            }
+        }
+    }
 
-	global $translation;
-	global $gallery;
+    // Substitute ngettext() function
+    if(! $languages_initialized) {
+        function ngettext($singular, $quasi_plural, $num = 0) {
+            //  echo "\n<br>----";
+            //  echo "\nSL: $singular, PL: $quasi_plural, N: $num";
+            global $gallery;
 
-	if (in_array($gallery->language,array_keys(gallery_languages())) &&
-		$gallery->language != 'en_US') {
-		$lines=getTranslationFile();
-		foreach ($lines as $key => $value) {
-		//We trim the String to get rid of cr/lf
-			$value=trim($value);
-			if (stristr($value, "msgid") && ! stristr($lines[$key-1],"fuzzy") && !stristr($value,"msgid_plural")) {
-//				echo "\n<br>---SID". $value;
-//					echo "\n<br>---PID". $lines[$key+1];
-				if (stristr($lines[$key+1],"msgid_plural")) {
-					$singular_key=substr($value, 7,-1);
-					$translation[$singular_key]=substr(trim($lines[$key+2]),11,-1);
-					$plural_key=substr(trim($lines[$key+1]), 14,-1);
-					$translation[$plural_key]=substr(trim($lines[$key+3]),11,-1);
-//	echo "\n<br>SK". $singular_key;
-//	echo "\n<br>ST". $translation[$singular_key];
-//	echo "\n<br>PK". $plural_key;
-//	echo "\n<br>PT". $translation[$plural_key];
-				}
-			}
-		}
-		// Substitute ngettext() function
-		function ngettext($singular, $quasi_plural,$num=0) {
-//			echo "\n<br>----";
-//			echo "\nSL: $singular, PL: $quasi_plural, N: $num";
-			if ($num == 1) {
-				if (! empty($GLOBALS['translation'][$singular])) {
-					return $GLOBALS['translation'][$singular] ;
-				} else {
-					return $singular;
-				}
-			}
-			else {
-				if (! empty($GLOBALS['translation'][$quasi_plural])) {
-					return $GLOBALS['translation'][$quasi_plural] ;
-				}
-				else {
-					return $quasi_plural;
-				}
-			}
-		}
-	}
-	else {
-		// There is no translation file or we are using original (en_US), so just return what we got
-		function ngettext($singular, $quasi_plural,$num=0) {
-			if ($num == 1) {
-				return $singular;
-			} else {
-				return $quasi_plural;
-			}
-		}
-	}
+            if($gallery->language == 'en_US') {
+                if ($num == 1) {
+                    return $singular;
+                }
+                else {
+                    return $quasi_plural;
+                }
+            }
+            else {
+                if ($num == 1) {
+                    if (! empty($GLOBALS['translation'][$singular])) {
+                        return $GLOBALS['translation'][$singular] ;
+                    }
+                    else {
+                        return $singular;
+                    }
+                }
+                else {
+                    if (! empty($GLOBALS['translation'][$quasi_plural])) {
+                        return $GLOBALS['translation'][$quasi_plural] ;
+                    }
+                    else {
+                        return $quasi_plural;
+                    }
+                }
+            }
+        }
+    }
 }
 
 /**
  *
 */
-function emulate_gettext() {
-	global $translation;
-	global $gallery;
-
-	if (in_array($gallery->language,array_keys(gallery_languages())) &&
-		$gallery->language != 'en_US') {
-		$filename=dirname(dirname(__FILE__)) . '/locale/' . $gallery->language . '/'. $gallery->language . '-gallery_' .  where_i_am()  . '.po';
-		$lines=file($filename);
-
-		foreach ($lines as $key => $value) {
-			/* We trim the String to get rid of cr/lf */
-			$value=trim($value);
-			if (stristr($value, "msgid") 
-				&& ! stristr($lines[$key-1],"fuzzy") 
-				&& ! stristr($lines[$key],"msgid_plural")
-				&& ! stristr($value,"msgid_plural")) {
-				$new_key=substr($value, 7,-1);
-				$translation[$new_key] = substr(trim($lines[$key+1]),8,-1);
-//		echo "\n<br>NK". $new_key;
-//		echo "\n<br>NT". $translation[$new_key];
-			}
-		}
-		// Substitute _() gettext function
-		function _($search) {
-			if (! empty($GLOBALS['translation'][$search])) {
-				return $GLOBALS['translation'][$search] ;
-			}
-			else {
-				return $search;
-			}
-		}
-	}
-	// There is no translation file or we are using original (en_US), so just return what we got
-	else {
-		function _($search) {
-			return $search;
-		}
-	}
+function emulate_gettext($languages_initialized) {
+    global $translation;
+    global $gallery;
+
+    if (in_array($gallery->language,array_keys(gallery_languages())) &&
+        $gallery->language != 'en_US') {
+
+        $filename = dirname(dirname(__FILE__)) . '/locale/' .
+        $gallery->language . '/'.
+        $gallery->language . '-gallery_' .  where_i_am()  . '.po';
+
+        $lines = file($filename);
+
+        foreach ($lines as $key => $value) {
+            /* We trim the String to get rid of cr/lf */
+            $value = trim($value);
+            if (stristr($value, "msgid") &&
+                ! stristr($lines[$key-1],"fuzzy") &&
+                ! stristr($lines[$key],"msgid_plural") &&
+                ! stristr($value,"msgid_plural")) {
+
+                $new_key = substr($value, 7,-1);
+                $translation[$new_key] = substr(trim($lines[$key+1]),8,-1);
+                //  echo "\n<br>NK". $new_key;
+                //  echo "\n<br>NT". $translation[$new_key];
+            }
+        }
+    }
+
+    // Substitute _() gettext function
+    if(! $languages_initialized) {
+        function _($search) {
+            global $gallery;
+
+            if($gallery->language == 'en_US') {
+                return $search;
+            }
+            else {
+
+                if (! empty($GLOBALS['translation'][$search])) {
+                    return $GLOBALS['translation'][$search] ;
+                }
+                else {
+                    return $search;
+                }
+            }
+        }
+    }
 }
 
 function gettext_installed() {
-	if (in_array("gettext", get_loaded_extensions()) && function_exists('gettext') && function_exists('_')) {
-		return true;
-	}
-	else {
-		return false;
-	}
+    if (in_array("gettext", get_loaded_extensions()) && function_exists('gettext') && function_exists('_')) {
+        return true;
+    }
+    else {
+        return false;
+    }
 }
 
 function ngettext_installed() {
-	if (in_array("ngettext", get_loaded_extensions()) || 
-	  (function_exists('ngettext') && function_exists('dngettext'))) {
-		return true;
-	}
-	else {
-		return false;
-	}
+    if (in_array("ngettext", get_loaded_extensions()) ||
+    (function_exists('ngettext') && function_exists('dngettext'))) {
+        return true;
+    }
+    else {
+        return false;
+    }
 }
 
 /**
@@ -583,8 +617,8 @@
  * @author Jens Tkotz
  */
 function gallery_languages() {
-	$nls = getNLS();
-	return $nls['language'];
+    $nls = getNLS();
+    return $nls['language'];
 }
 
 /**
@@ -598,7 +632,7 @@
     $nls = getNLS();
 
     if (isset($nls['alias'][$language])) {
-	   return $nls['alias'][$language];
+        return $nls['alias'][$language];
     } else {
         return $language;
     }
@@ -608,37 +642,37 @@
  * returns all language relative that gallery could collect.
  */
 function getNLS() {
-	static $nls;
+    static $nls;
 
-	if (empty($nls)) {
-		$nls = array();
-		// Load defaults
-		include (dirname(dirname(__FILE__)) . '/nls.php');
-
-		$modules = array('config','core');
-		$dir = dirname(dirname(__FILE__)) . '/locale';
-		if (fs_is_dir($dir) && is_readable($dir) && $handle = fs_opendir($dir)) {
-			while ($dirname = readdir($handle)) {
-				if (ereg("^([a-z]{2}_[A-Z]{2})", $dirname)) {
-					$locale = $dirname;
-					$fc = 0;
-					foreach ($modules as $module) {
-						if (gettext_installed()) {
-							if (fs_file_exists(dirname(dirname(__FILE__)) . "/locale/$dirname/$locale-gallery_$module.po")) $fc++;
-						} else {
-							if (fs_file_exists(dirname(dirname(__FILE__)) . "/locale/$dirname/LC_MESSAGES/$locale-gallery_$module.mo")) $fc++;
-						}
-					}
-					if (fs_file_exists(dirname(dirname(__FILE__)) . "/locale/$dirname/$locale-nls.php") && $fc==sizeof($modules)) {
-						include (dirname(dirname(__FILE__)) . "/locale/$dirname/$locale-nls.php");
-					}
-				}
-			}
-			closedir($handle);
-		}
-	}
+    if (empty($nls)) {
+        $nls = array();
+        // Load defaults
+        include (dirname(dirname(__FILE__)) . '/nls.php');
+
+        $modules = array('config','core');
+        $dir = dirname(dirname(__FILE__)) . '/locale';
+        if (fs_is_dir($dir) && is_readable($dir) && $handle = fs_opendir($dir)) {
+            while ($dirname = readdir($handle)) {
+                if (ereg("^([a-z]{2}_[A-Z]{2})", $dirname)) {
+                    $locale = $dirname;
+                    $fc = 0;
+                    foreach ($modules as $module) {
+                        if (gettext_installed()) {
+                            if (fs_file_exists(dirname(dirname(__FILE__)) . "/locale/$dirname/$locale-gallery_$module.po")) $fc++;
+                        } else {
+                            if (fs_file_exists(dirname(dirname(__FILE__)) . "/locale/$dirname/LC_MESSAGES/$locale-gallery_$module.mo")) $fc++;
+                        }
+                    }
+                    if (fs_file_exists(dirname(dirname(__FILE__)) . "/locale/$dirname/$locale-nls.php") && $fc==sizeof($modules)) {
+                        include (dirname(dirname(__FILE__)) . "/locale/$dirname/$locale-nls.php");
+                    }
+                }
+            }
+            closedir($handle);
+        }
+    }
 
-	return $nls;
+    return $nls;
 }
 
 function i18n($buf) {
@@ -646,56 +680,59 @@
 }
 
 function isSupportedCharset($charset) {
-	$supportedCharsets=array(
-		'UTF-8',
-		'ISO-8859-1',
-		'ISO-8859-15',
-		'cp1252',
-		'BIG5',
-		'GB2312',
-		'BIG5-HKSCS',
-		'Shift_JIS',
-		'EUC-JP'
-	);
-
-	$supportedCharsetsNewerPHP=array(
-		'cp866',
-		'cp1251',
-		'KOI8-R'
-	);
+    $supportedCharsets = array(
+        'UTF-8',
+        'ISO-8859-1',
+        'ISO-8859-15',
+        'cp1252',
+        'BIG5',
+        'GB2312',
+        'BIG5-HKSCS',
+        'Shift_JIS',
+        'EUC-JP'
+    );
+
+    $supportedCharsetsNewerPHP=array(
+        'cp866',
+        'cp1251',
+        'KOI8-R'
+    );
 
-	/**
+    /**
      * Check if we are using PHP >= 4.1.0
      * If yes, we can use 3rd Parameter so e.g. titles in chinese BIG5 or UTF8 are displayed correct.
      * Otherwise they are messed.
      * Not all Gallery Charsets are supported by PHP, so only thoselisted are recognized.
      */
-	if (function_exists('version_compare')) {
-		if ( (version_compare(phpversion(), "4.1.0", ">=") && in_array($charset, $supportedCharsets)) ||
-		     (version_compare(phpversion(), "4.3.2", ">=") && in_array($charset, $supportedCharsetsNewerPHP)) ) {
-			return true;
-		} else {
-			/* Unsupported Charset*/
-			return false;
-		}
-	} else {
-		/* PHP too old*/
-		return false;
-	}
+    if (function_exists('version_compare')) {
+        if ( (version_compare(phpversion(), "4.1.0", ">=") && in_array($charset, $supportedCharsets)) ||
+        (version_compare(phpversion(), "4.3.2", ">=") && in_array($charset, $supportedCharsetsNewerPHP)) ) {
+            return true;
+        }
+        else {
+            /* Unsupported Charset*/
+            return false;
+        }
+    }
+    else {
+        /* PHP too old*/
+        return false;
+    }
 }
-	
+
 /**
  * Gallery Version of htmlentities
- * Enhancement: Depending on PHP Version and Charset use 
+ * Enhancement: Depending on PHP Version and Charset use
  * optional 3rd Parameter of php's htmlentities
  */
 function gallery_htmlentities($string) {
-	global $gallery;
+    global $gallery;
 
-	if (isSupportedCharset($gallery->charset)) {
-		return htmlentities($string,ENT_COMPAT ,$gallery->charset);
-	} else {
-		return htmlentities($string);
+    if (isSupportedCharset($gallery->charset)) {
+        return htmlentities($string,ENT_COMPAT ,$gallery->charset);
+    }
+    else {
+        return htmlentities($string);
     }
 }
 
@@ -703,37 +740,40 @@
  * Convert all HTML entities to their applicable characters
  */
 function unhtmlentities($string) {
-	global $gallery;
+    global $gallery;
 
-	if (empty($string)) {
-		return '';
-	}
-
-	if (function_exists('html_entity_decode')) {
-		$nls = getNLS();
-		if (isset ($nls['charset'][$gallery->language])) {
-			$charset = $nls['charset'][$gallery->language];
-		} else {
-			$charset = $nls['default']['charset'];
-		}
-
-		if (isSupportedCharset($charset) && strtolower($charset) != 'utf-8') {
-			$return = html_entity_decode($string,ENT_COMPAT ,$charset);
-		}
-		else {
-			// For unsupported charsets you may do this:
-			$trans_tbl = get_html_translation_table (HTML_ENTITIES);
-			$trans_tbl = array_flip ($trans_tbl);
-			$return = strtr ($string, $trans_tbl);
-		}
-	} else {
-		// For users with PHP prior to 4.3.0 you may do this:
-		$trans_tbl = get_html_translation_table (HTML_ENTITIES);
-		$trans_tbl = array_flip ($trans_tbl);
-		$return = strtr ($string, $trans_tbl);
-	}
+    if (empty($string)) {
+        return '';
+    }
 
-return $return;
+    if (function_exists('html_entity_decode')) {
+        $nls = getNLS();
+
+        if (isset ($nls['charset'][$gallery->language])) {
+            $charset = $nls['charset'][$gallery->language];
+        }
+        else {
+            $charset = $nls['default']['charset'];
+        }
+
+        if (isSupportedCharset($charset) && strtolower($charset) != 'utf-8') {
+            $return = html_entity_decode($string,ENT_COMPAT ,$charset);
+        }
+        else {
+            // For unsupported charsets you may do this:
+            $trans_tbl = get_html_translation_table (HTML_ENTITIES);
+            $trans_tbl = array_flip ($trans_tbl);
+            $return = strtr ($string, $trans_tbl);
+        }
+    }
+    else {
+        // For users with PHP prior to 4.3.0 you may do this:
+        $trans_tbl = get_html_translation_table (HTML_ENTITIES);
+        $trans_tbl = array_flip ($trans_tbl);
+        $return = strtr ($string, $trans_tbl);
+    }
+
+    return $return;
 }
 
 /**
@@ -754,13 +794,13 @@
  * Since they are used often, we translated them.
  */
 function translateableFields() {
-	return array(
-		'title'		=> gTranslate('common', "title"),
-		'Title'		=> gTranslate('common', "Title"),
-		'Description'	=> gTranslate('common', "Description"),
-		'description'	=> gTranslate('common', "description"),
-		'AltText'	=> gTranslate('common', "Alt Text / onMouseOver"),
-	);
+    return array(
+        'title'		=> gTranslate('common', "title"),
+        'Title'		=> gTranslate('common', "Title"),
+        'Description'	=> gTranslate('common', "Description"),
+        'description'	=> gTranslate('common', "description"),
+        'AltText'	=> gTranslate('common', "Alt Text / onMouseOver"),
+    );
 }
 
 /**
@@ -834,9 +874,9 @@
                 }
                 else {
                     $langSelectTable->addElement(array(
-			'content' => $flagImage,
-			'cellArgs' => array('style' => 'padding-bottom:10px')
-		    ));
+                    'content' => $flagImage,
+                    'cellArgs' => array('style' => 'padding-bottom:10px')
+                    ));
                 }
             }
         }
@@ -865,10 +905,10 @@
     global $gallery;
 
     if ($gallery->direction == 'ltr') {
-	return 'left';
+        return 'left';
     }
     else {
-	return 'right';
+        return 'right';
     }
 }
 
@@ -877,13 +917,13 @@
  * @author Jens Tkotz
  */
 function langRight() {
-	global $gallery;
+    global $gallery;
 
-	if ($gallery->direction == 'ltr') {
-		return 'right';
-	}
-	else {
-		return 'left';
-	}
+    if ($gallery->direction == 'ltr') {
+        return 'right';
+    }
+    else {
+        return 'left';
+    }
 }
 ?>
\ Pas de fin de ligne à la fin du fichier.
diff -Naur gallery-1.5.4/lib/messages.php gallery-1.5.5/lib/messages.php
--- gallery-1.5.4/lib/messages.php	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/lib/messages.php	2006-10-12 23:23:28.000000000 +0200
@@ -2,28 +2,28 @@
 /*
  * Gallery - a web based photo album viewer and editor
  * Copyright (C) 2000-2006 Bharat Mediratta
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or (at
  * your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: messages.php 13338 2006-03-27 15:32:14Z jenst $
+ * $Id: messages.php 14799 2006-10-12 21:23:28Z jenst $
  */
 ?>
 <?php
 
 function gallery_error($message) {
-    return '<span class="error">'. _("Error:") . " $message</span>\n";
+    return '<span class="error">'. gTranslate('common', "Error:") . " $message</span>\n";
 }
 
 function infoLine($messages, $type = '') {
@@ -70,9 +70,9 @@
     }
 
     if ($gallery->session->offline) {
-        return sprintf(_("Generated by %s v%s"), $link, $version);
+        return sprintf(gTranslate('common', "Generated by %s v%s"), $link, $version);
     } else {
-        return sprintf(_("Powered by %s v%s"), $link, $version);
+        return sprintf(gTranslate('common', "Powered by %s v%s"), $link, $version);
     }
 }
 
diff -Naur gallery-1.5.4/lib/valchecks.php gallery-1.5.5/lib/valchecks.php
--- gallery-1.5.4/lib/valchecks.php	2006-05-02 11:59:13.000000000 +0200
+++ gallery-1.5.5/lib/valchecks.php	2006-09-10 23:58:30.000000000 +0200
@@ -2,22 +2,22 @@
 /*
  * Gallery - a web based photo album viewer and editor
  * Copyright (C) 2000-2006 Bharat Mediratta
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or (at
  * your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: valchecks.php 13579 2006-05-02 09:59:13Z jenst $
+ * $Id: valchecks.php 14498 2006-09-10 21:58:30Z jenst $
  */
 ?>
 <?php
@@ -80,21 +80,23 @@
     $minimum = ($includingZero == true) ? 0 : 1;
 
     if ( $mixed == '' && $emptyAllowed) {
-	return array(0, $mixed, '');
+        return array(0, $mixed, '');
     }
-	
+
     if (! is_numeric($mixed)) {
-	if (isset($default)) {
-	    return array(1,$default, _("Value was set to given default. Because the original value is not numeric."));
-	} else {
-	    return array(2, false, _("The given Value is not numeric."));
-	}
+        if (isset($default)) {
+            return array(1, $default, _("Value was set to given default. Because the original value is not numeric."));
+        }
+        else {
+            return array(2, false, _("The given Value is not numeric."));
+        }
     }
 
     if($mixed < $minimum) {
-	if (isset($default)) {
+        if (isset($default)) {
             return array(1, $default, _("Value was set to given default. Because the original value is not a valid Integer"));
-        } else {
+        }
+        else {
             return array(2, false, _("The given Value not a valid Integer."));
         }
     }
@@ -104,6 +106,7 @@
 
 function isValidText($text, $default = NULL) {
     $sanitized = sanitizeInput($text);
+
     if($sanitized != $text) {
         if(isset($default)) {
             return array(1, $default, _("Value was set to given default. Because the original value is not a valid text"));
diff -Naur gallery-1.5.4/manifest.inc gallery-1.5.5/manifest.inc
--- gallery-1.5.4/manifest.inc	2006-08-15 14:20:00.000000000 +0200
+++ gallery-1.5.5/manifest.inc	2006-11-12 18:36:51.000000000 +0100
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: manifest.inc 14328 2006-08-15 12:20:00Z jenst $
+ * $Id: gpl.txt 13338 2006-03-27 15:32:14Z jenst $
  */
 ?>
 <?php
@@ -28,605 +28,4 @@
  */
 
 $versions=array();
-$versions['AUTHORS']='11306';
-$versions['ChangeLog']='';
-$versions['LICENSE.txt']='11584';
-$versions['README']='3848';
-$versions['Version.php']='14315';
-$versions['add_comment.php']='13409';
-$versions['add_photos.php']='13338';
-$versions['add_photos_frame.php']='13338';
-$versions['add_photos_refresh.php']='13579';
-$versions['admin-page.php']='13338';
-$versions['administer_startpage.php']='13338';
-$versions['album_permissions.php']='13433';
-$versions['albums.php']='13362';
-$versions['block-random.php']='13338';
-$versions['captionator.php']='13338';
-$versions['classes/Album.php']='13579';
-$versions['classes/AlbumDB.php']='13338';
-$versions['classes/AlbumItem.php']='13338';
-$versions['classes/Comment.php']='13504';
-$versions['classes/Database.php']='13338';
-$versions['classes/EverybodyUser.php']='13338';
-$versions['classes/HTML/table.php']='13338';
-$versions['classes/HTML_Safe/Safe.php']='13455';
-$versions['classes/Image.php']='13338';
-$versions['classes/LoggedInUser.php']='13338';
-$versions['classes/Mail/RFC822.php']='13580';
-$versions['classes/Mail/htmlMimeMail.php']='13848';
-$versions['classes/Mail/mimePart.php']='13580';
-$versions['classes/Mail/smtp.php']='13580';
-$versions['classes/NobodyUser.php']='13338';
-$versions['classes/User.php']='13338';
-$versions['classes/UserDB.php']='13338';
-$versions['classes/XML_HTMLSax3/HTMLSax3.php']='13349';
-$versions['classes/XML_HTMLSax3/HTMLSax3/Decorators.php']='13349';
-$versions['classes/XML_HTMLSax3/HTMLSax3/States.php']='13349';
-$versions['classes/database/mysql/Database.php']='13338';
-$versions['classes/gallery/User.php']='13338';
-$versions['classes/gallery/UserDB.php']='13338';
-$versions['classes/geeklog/User.php']='13580';
-$versions['classes/geeklog/UserDB.php']='13580';
-$versions['classes/mambo/User.php']='13338';
-$versions['classes/mambo/UserDB.php']='13338';
-$versions['classes/nsnnuke/AdminUser.php']='13338';
-$versions['classes/nsnnuke/User.php']='13338';
-$versions['classes/nsnnuke/UserDB.php']='13338';
-$versions['classes/nuke5/AdminUser.php']='13338';
-$versions['classes/nuke5/User.php']='13338';
-$versions['classes/nuke5/UserDB.php']='13338';
-$versions['classes/phpbb/User.php']='13580';
-$versions['classes/phpbb/UserDB.php']='13580';
-$versions['classes/postnuke/User.php']='13338';
-$versions['classes/postnuke/UserDB.php']='13338';
-$versions['classes/postnuke0.7.1/User.php']='13338';
-$versions['classes/postnuke0.7.1/UserDB.php']='13338';
-$versions['classes/remote/GalleryRemoteProperties.php']='13338';
-$versions['configure.sh']='6290';
-$versions['contrib/joomla/admin.gallery.html.php']='13338';
-$versions['contrib/joomla/admin.gallery.php']='13338';
-$versions['contrib/joomla/classes/mambo.php']='11822';
-$versions['contrib/joomla/gallery.php']='13338';
-$versions['contrib/joomla/gallery.xml']='13338';
-$versions['contrib/joomla/images/logo-228x67.png']='';
-$versions['contrib/joomla/includes/frontend.php']='11822';
-$versions['contrib/joomla/toolbar.gallery.php']='13338';
-$versions['contrib/mambo/admin.gallery.html.php']='13338';
-$versions['contrib/mambo/admin.gallery.php']='13338';
-$versions['contrib/mambo/classes/mambo.php']='7038';
-$versions['contrib/mambo/gallery.php']='13338';
-$versions['contrib/mambo/gallery.xml']='13338';
-$versions['contrib/mambo/images/logo-228x67.png']='';
-$versions['contrib/mambo/includes/frontend.php']='5898';
-$versions['contrib/mambo/toolbar.gallery.php']='13338';
-$versions['contrib/phpBB2/modules.php']='13338';
-$versions['contrib/phpnuke/block-Random_Image.php.sample']='13338';
-$versions['copy_photo.php']='13338';
-$versions['create_user.php']='13338';
-$versions['css/base.css.default']='14310';
-$versions['css/config.css.default']='14310';
-$versions['css/embedded_style.css.default']='10654';
-$versions['css/screen.css.default']='14310';
-$versions['delete_album.php']='13338';
-$versions['delete_photo.php']='13338';
-$versions['delete_user.php']='13338';
-$versions['do_command.php']='13848';
-$versions['download.php']='13338';
-$versions['ecard_form.php']='13579';
-$versions['ecard_preview.php']='13338';
-$versions['edit_appearance.php']='14310';
-$versions['edit_caption.php']='13338';
-$versions['edit_field.php']='13349';
-$versions['edit_thumb.php']='13338';
-$versions['edit_watermark.php']='13361';
-$versions['extra_fields.php']='13338';
-$versions['gallery_remote.php']='13338';
-$versions['gallery_remote2.php']='13338';
-$versions['help/imagemap.php']='13338';
-$versions['help/metadataOnUpload.php']='13338';
-$versions['html/userData.inc']='12387';
-$versions['html_wrap/album.footer.default']='11686';
-$versions['html_wrap/album.header.default']='11373';
-$versions['html_wrap/frames/README.php']='5431';
-$versions['html_wrap/frames/golden/BB.gif']='';
-$versions['html_wrap/frames/golden/BL.gif']='';
-$versions['html_wrap/frames/golden/BR.gif']='';
-$versions['html_wrap/frames/golden/LL.gif']='';
-$versions['html_wrap/frames/golden/RR.gif']='';
-$versions['html_wrap/frames/golden/TL.gif']='';
-$versions['html_wrap/frames/golden/TR.gif']='';
-$versions['html_wrap/frames/golden/TT.gif']='';
-$versions['html_wrap/frames/golden/frame.def']='5600';
-$versions['html_wrap/frames/notebook/BB.gif']='';
-$versions['html_wrap/frames/notebook/BL.gif']='';
-$versions['html_wrap/frames/notebook/BR.gif']='';
-$versions['html_wrap/frames/notebook/LL.gif']='';
-$versions['html_wrap/frames/notebook/RR.gif']='';
-$versions['html_wrap/frames/notebook/TL.gif']='';
-$versions['html_wrap/frames/notebook/TR.gif']='';
-$versions['html_wrap/frames/notebook/TT.gif']='';
-$versions['html_wrap/frames/notebook/frame.def']='5600';
-$versions['html_wrap/frames/polaroid/BB.gif']='';
-$versions['html_wrap/frames/polaroid/BL.gif']='';
-$versions['html_wrap/frames/polaroid/BR.gif']='';
-$versions['html_wrap/frames/polaroid/LL.gif']='';
-$versions['html_wrap/frames/polaroid/RR.gif']='';
-$versions['html_wrap/frames/polaroid/TL.gif']='';
-$versions['html_wrap/frames/polaroid/TR.gif']='';
-$versions['html_wrap/frames/polaroid/TT.gif']='';
-$versions['html_wrap/frames/polaroid/frame.def']='5600';
-$versions['html_wrap/frames/polaroid/pixel_trans.gif']='';
-$versions['html_wrap/frames/polaroids/BB.gif']='';
-$versions['html_wrap/frames/polaroids/BL.gif']='';
-$versions['html_wrap/frames/polaroids/BR.gif']='';
-$versions['html_wrap/frames/polaroids/LL.gif']='';
-$versions['html_wrap/frames/polaroids/RR.gif']='';
-$versions['html_wrap/frames/polaroids/TL.gif']='';
-$versions['html_wrap/frames/polaroids/TR.gif']='';
-$versions['html_wrap/frames/polaroids/TT.gif']='';
-$versions['html_wrap/frames/polaroids/frame.def']='5600';
-$versions['html_wrap/frames/polaroids/pixel_trans.gif']='';
-$versions['html_wrap/frames/postage_stamp/BB5.gif']='';
-$versions['html_wrap/frames/postage_stamp/BL5.gif']='';
-$versions['html_wrap/frames/postage_stamp/BR5.gif']='';
-$versions['html_wrap/frames/postage_stamp/LL5.gif']='';
-$versions['html_wrap/frames/postage_stamp/RR5.gif']='';
-$versions['html_wrap/frames/postage_stamp/TL5.gif']='';
-$versions['html_wrap/frames/postage_stamp/TR5.gif']='';
-$versions['html_wrap/frames/postage_stamp/TT5.gif']='';
-$versions['html_wrap/frames/postage_stamp/pixel_trans.gif']='';
-$versions['html_wrap/frames/shadows/BB.png']='';
-$versions['html_wrap/frames/shadows/BBL.png']='';
-$versions['html_wrap/frames/shadows/BR.png']='';
-$versions['html_wrap/frames/shadows/RR.png']='';
-$versions['html_wrap/frames/shadows/RRT.png']='';
-$versions['html_wrap/frames/shadows/frame.def']='4789';
-$versions['html_wrap/frames/shadows/pixel_trans.png']='';
-$versions['html_wrap/frames/simple_book/BB.gif']='';
-$versions['html_wrap/frames/simple_book/BL.gif']='';
-$versions['html_wrap/frames/simple_book/BR.gif']='';
-$versions['html_wrap/frames/simple_book/RR.gif']='';
-$versions['html_wrap/frames/simple_book/TR.gif']='';
-$versions['html_wrap/frames/simple_book/dot.gif']='';
-$versions['html_wrap/frames/simple_book/frame.def']='4522';
-$versions['html_wrap/frames/simple_book/pixel_trans.gif']='';
-$versions['html_wrap/frames/wooden/BB.gif']='';
-$versions['html_wrap/frames/wooden/BL.gif']='';
-$versions['html_wrap/frames/wooden/BR.gif']='';
-$versions['html_wrap/frames/wooden/LL.gif']='';
-$versions['html_wrap/frames/wooden/RR.gif']='';
-$versions['html_wrap/frames/wooden/TL.gif']='';
-$versions['html_wrap/frames/wooden/TR.gif']='';
-$versions['html_wrap/frames/wooden/TT.gif']='';
-$versions['html_wrap/frames/wooden/frame.def']='5600';
-$versions['html_wrap/gallery.footer.default']='11686';
-$versions['html_wrap/gallery.header.default']='11373';
-$versions['html_wrap/general.footer.default']='11686';
-$versions['html_wrap/inline_albumthumb.footer.default']='7304';
-$versions['html_wrap/inline_albumthumb.frame.default']='5409';
-$versions['html_wrap/inline_albumthumb.header.default']='4372';
-$versions['html_wrap/inline_gallerythumb.frame.default']='5409';
-$versions['html_wrap/inline_imagewrap.inc']='13340';
-$versions['html_wrap/inline_moviethumb.frame.default']='5409';
-$versions['html_wrap/inline_photo.footer.default']='7304';
-$versions['html_wrap/inline_photo.frame.default']='5409';
-$versions['html_wrap/inline_photo.header.default']='10999';
-$versions['html_wrap/inline_photothumb.frame.default']='5409';
-$versions['html_wrap/photo.footer.default']='13338';
-$versions['html_wrap/photo.header.default']='11373';
-$versions['html_wrap/slideshow.footer.default']='9875';
-$versions['html_wrap/slideshow.header.default']='11373';
-$versions['html_wrap/stats.footer.default']='10343';
-$versions['html_wrap/stats.header.default']='11682';
-$versions['html_wrap/wrapper.footer.default']='11223';
-$versions['html_wrap/wrapper.header.default']='11400';
-$versions['imagemap.php']='13338';
-$versions['images/BB1.gif']='';
-$versions['images/BL1.gif']='';
-$versions['images/BR1.gif']='';
-$versions['images/LL1.gif']='';
-$versions['images/RR1.gif']='';
-$versions['images/TL1.gif']='';
-$versions['images/TR1.gif']='';
-$versions['images/TT1.gif']='';
-$versions['images/admin_delete.gif']='';
-$versions['images/admin_hide.gif']='';
-$versions['images/admin_highlight.gif']='';
-$versions['images/admin_move.gif']='';
-$versions['images/admin_rotate.gif']='';
-$versions['images/admin_unhide.gif']='';
-$versions['images/albumthumb_BB.gif']='';
-$versions['images/albumthumb_BL.gif']='';
-$versions['images/albumthumb_BR.gif']='';
-$versions['images/albumthumb_RR.gif']='';
-$versions['images/albumthumb_TR.gif']='';
-$versions['images/bar.gif']='';
-$versions['images/collapse.gif']='';
-$versions['images/colorpicker.png']='';
-$versions['images/colorscale.png']='';
-$versions['images/computer.gif']='';
-$versions['images/donate.jpg']='';
-$versions['images/ecard_images/00.gif']='';
-$versions['images/ecard_images/01.gif']='';
-$versions['images/ecard_images/02.gif']='';
-$versions['images/ecard_images/03.gif']='';
-$versions['images/ecard_images/04.gif']='';
-$versions['images/ecard_images/05.gif']='';
-$versions['images/ecard_images/06.gif']='';
-$versions['images/ecard_images/07.gif']='';
-$versions['images/ecard_images/08.gif']='';
-$versions['images/ecard_images/09.gif']='';
-$versions['images/ecard_images/10.gif']='';
-$versions['images/ecard_images/11.gif']='';
-$versions['images/ecard_images/12.gif']='';
-$versions['images/ecard_images/13.gif']='';
-$versions['images/ecard_images/14.gif']='';
-$versions['images/ecard_images/15.gif']='';
-$versions['images/ecard_images/16.gif']='';
-$versions['images/ecard_images/17.gif']='';
-$versions['images/ecard_images/18.gif']='';
-$versions['images/ecard_images/19.gif']='';
-$versions['images/ecard_images/20.gif']='';
-$versions['images/ecard_images/21.gif']='';
-$versions['images/ecard_images/22.gif']='';
-$versions['images/ecard_images/23.gif']='';
-$versions['images/ecard_images/24.gif']='';
-$versions['images/ecard_images/25.gif']='';
-$versions['images/ecard_images/26.gif']='';
-$versions['images/ecard_images/27.gif']='';
-$versions['images/ecard_images/eCards.gif']='';
-$versions['images/ecard_images/ecards_eng.png']='';
-$versions['images/ecard_images/icon_help.gif']='';
-$versions['images/ecard_images/icon_square.gif']='';
-$versions['images/ecard_images/leer.gif']='';
-$versions['images/ecard_images/postcard.gif']='';
-$versions['images/expand.gif']='';
-$versions['images/favicon.ico']='';
-$versions['images/g1-phpBB2-icon.png']='';
-$versions['images/gallery-tag.png']='';
-$versions['images/green_trafficlight.gif']='';
-$versions['images/icons/1leftarrow.gif']='';
-$versions['images/icons/1rightarrow.gif']='';
-$versions['images/icons/2downarrow.gif']='';
-$versions['images/icons/behavior-capplet.gif']='';
-$versions['images/icons/camera.gif']='';
-$versions['images/icons/compressed.png']='';
-$versions['images/icons/decrypted.gif']='';
-$versions['images/icons/delete.gif']='';
-$versions['images/icons/display.gif']='';
-$versions['images/icons/ecard.gif']='';
-$versions['images/icons/editcopy.gif']='';
-$versions['images/icons/exit.gif']='';
-$versions['images/icons/folder_new.gif']='';
-$versions['images/icons/frame_query.gif']='';
-$versions['images/icons/help.gif']='';
-$versions['images/icons/history.gif']='';
-$versions['images/icons/idea.gif']='';
-$versions['images/icons/identity.gif']='';
-$versions['images/icons/imageedit/flip.gif']='';
-$versions['images/icons/imageedit/mirror.gif']='';
-$versions['images/icons/imageedit/rotate-180.gif']='';
-$versions['images/icons/imageedit/rotate-270.gif']='';
-$versions['images/icons/imageedit/rotate-90.gif']='';
-$versions['images/icons/info.gif']='';
-$versions['images/icons/kcmfontinst.gif']='';
-$versions['images/icons/kdf.gif']='';
-$versions['images/icons/nav_first.gif']='';
-$versions['images/icons/nav_last.gif']='';
-$versions['images/icons/nav_next.gif']='';
-$versions['images/icons/nav_prev.gif']='';
-$versions['images/icons/no_idea.gif']='';
-$versions['images/icons/reload.gif']='';
-$versions['images/icons/showcomment.gif']='';
-$versions['images/icons/tab_duplicate.gif']='';
-$versions['images/icons/thumbnail.gif']='';
-$versions['images/icons/tree/join-left.gif']='';
-$versions['images/icons/tree/join-right.gif']='';
-$versions['images/icons/tree/joinbottom-left.gif']='';
-$versions['images/icons/tree/joinbottom-right.gif']='';
-$versions['images/icons/unsortedList.gif']='';
-$versions['images/icons/viewmag1.gif']='';
-$versions['images/icons/window_fullscreen.gif']='';
-$versions['images/icons/window_nofullscreen.gif']='';
-$versions['images/icons/yast_kuser.gif']='';
-$versions['images/icons/yast_sysadmin.gif']='';
-$versions['images/icons/yast_sysadmin2.gif']='';
-$versions['images/movie.thumb.jpg']='';
-$versions['images/nav_dot.gif']='';
-$versions['images/nav_dot_left.gif']='';
-$versions['images/nav_dot_right.gif']='';
-$versions['images/nav_home.gif']='';
-$versions['images/nav_page.gif']='';
-$versions['images/pixel_trans.gif']='';
-$versions['images/red_trafficlight.gif']='';
-$versions['images/simplex-bkg.gif']='';
-$versions['images/tab_bottom.gif']='';
-$versions['images/uploading.gif']='';
-$versions['images/yellow_red_trafficlight.gif']='';
-$versions['images/yellow_trafficlight.gif']='';
-$versions['includes/add_photos/add_applet.cfg']='13338';
-$versions['includes/add_photos/add_applet.inc']='13338';
-$versions['includes/add_photos/add_applet_mini.cfg']='13338';
-$versions['includes/add_photos/add_applet_mini.inc']='13338';
-$versions['includes/add_photos/add_form.inc']='13338';
-$versions['includes/add_photos/add_other.inc']='13338';
-$versions['includes/add_photos/add_url.inc']='13338';
-$versions['includes/add_photos/captionOptions.inc.php']='13338';
-$versions['includes/definitions/albumProperties.php']='13338';
-$versions['includes/definitions/mime.mapping.php']='13580';
-$versions['includes/definitions/navIcons.php']='12232';
-$versions['includes/definitions/services.php']='13338';
-$versions['includes/ecard/templates/ecard_1.tpl']='';
-$versions['includes/ecard/templates/error.htm']='';
-$versions['includes/ecard/templates/leer.htm']='';
-$versions['includes/errors/configure_help.php']='10669';
-$versions['includes/errors/reconfigure.php']='10956';
-$versions['includes/errors/unconfigured.php']='10956';
-$versions['includes/slideshow/applet.cfg']='13338';
-$versions['includes/slideshow/applet.inc']='13338';
-$versions['includes/slideshow/high.inc']='13338';
-$versions['includes/slideshow/low.inc']='13338';
-$versions['includes/stats/stats.inc.php']='13338';
-$versions['index.php']='13338';
-$versions['init.php']='13849';
-$versions['java/GalleryRemoteApplet.jar']='';
-$versions['java/GalleryRemoteAppletMini.jar']='';
-$versions['java/GalleryRemoteHTTPClient.jar']='';
-$versions['java/ImageTools.jar']='';
-$versions['java/applet_img.jar']='';
-$versions['java/metadata-extractor-2.1.jar']='';
-$versions['js/client_sniff.js']='3038';
-$versions['js/fitToWindow.js.php']='13580';
-$versions['js/imagemap.js']='';
-$versions['js/multifile.js.php']='14113';
-$versions['js/sectionTabs.js.php']='13580';
-$versions['js/toggle.js']='';
-$versions['js/wz_jsgraphics.js']='';
-$versions['js/wz_tooltip.js']='';
-$versions['layout/adminAlbumCommands.inc']='13580';
-$versions['layout/adminbox.inc']='10797';
-$versions['layout/breadcrumb.inc']='12188';
-$versions['layout/commentbox.inc']='11822';
-$versions['layout/commentboxbottom.inc']='13339';
-$versions['layout/commentboxtop.inc']='11736';
-$versions['layout/commentdraw.inc']='10595';
-$versions['layout/navigator.inc']='12232';
-$versions['layout/navmicro.inc']='13338';
-$versions['layout/navphoto.inc']='12407';
-$versions['layout/navtablebegin.inc']='6352';
-$versions['layout/navtableend.inc']='6352';
-$versions['layout/navtablemiddle.inc']='6352';
-$versions['layout/searchdraw.inc']='7931';
-$versions['layout/watermarkform.inc']='13361';
-$versions['lib/Form.php']='14311';
-$versions['lib/album.php']='13338';
-$versions['lib/albumItem.php']='13407';
-$versions['lib/colorpicker.php']='13580';
-$versions['lib/content.php']='14311';
-$versions['lib/imageManipulation.php']='13579';
-$versions['lib/lang.php']='13579';
-$versions['lib/mail.php']='13338';
-$versions['lib/messages.php']='13338';
-$versions['lib/popup.php']='13580';
-$versions['lib/setup.php']='14310';
-$versions['lib/url.php']='14310';
-$versions['lib/valchecks.php']='13579';
-$versions['lib/voting.php']='14292';
-$versions['login.php']='13338';
-$versions['manage_users.php']='13338';
-$versions['manifest.inc']='14328';
-$versions['modify_user.php']='13338';
-$versions['move_album.php']='13338';
-$versions['move_photo.php']='13338';
-$versions['multi_create_user.php']='13338';
-$versions['new_password.php']='13338';
-$versions['nls.php']='13338';
-$versions['photo_owner.php']='13338';
-$versions['platform/fs_unix.php']='13338';
-$versions['platform/fs_win32.php']='13338';
-$versions['poll_properties.php']='13338';
-$versions['poll_results.php']='13338';
-$versions['progress_uploading.php']='13338';
-$versions['publish_xp.php']='13338';
-$versions['publish_xp_docs.php']='13338';
-$versions['rearrange.php']='13338';
-$versions['register.php']='13338';
-$versions['rename_album.php']='13338';
-$versions['reset_votes.php']='13338';
-$versions['resize_photo.php']='13338';
-$versions['rotate_photo.php']='13361';
-$versions['rss.php']='13338';
-$versions['save_photos.php']='13409';
-$versions['search.php']='13338';
-$versions['secure.sh']='6294';
-$versions['session.php']='13338';
-$versions['setup/backup_albums.php']='13338';
-$versions['setup/check.inc']='13338';
-$versions['setup/check_imagemagick.php']='13338';
-$versions['setup/check_mail.php']='13338';
-$versions['setup/check_netpbm.php']='13338';
-$versions['setup/check_versions.php']='13579';
-$versions['setup/config_data.inc']='14310';
-$versions['setup/confirm.inc']='13338';
-$versions['setup/constants.inc']='14327';
-$versions['setup/defaults.inc']='14327';
-$versions['setup/diagnostics.php']='13338';
-$versions['setup/frame_test.php']='13338';
-$versions['setup/ghcc.php']='13338';
-$versions['setup/gpl.txt']='13338';
-$versions['setup/index.php']='13338';
-$versions['setup/init.php']='13957';
-$versions['setup/login.inc']='13338';
-$versions['setup/mod_rewrite.template']='5352';
-$versions['setup/php_value.template']='7649';
-$versions['setup/php_value_ok.php']='3374';
-$versions['setup/phpinfo.php']='13338';
-$versions['setup/session_test.php']='13338';
-$versions['setup/write.inc']='13338';
-$versions['skins/bars002/css/screen.css']='12387';
-$versions['skins/bars002/images/navbar.jpg']='';
-$versions['skins/bars002/images/screenshot.jpg']='';
-$versions['skins/bars002/images/topbar.jpg']='';
-$versions['skins/bblue/images/mod_headliner.jpg']='';
-$versions['skins/bblue/images/mod_navbar.jpg']='';
-$versions['skins/bblue/images/mod_toplight_bg.jpg']='';
-$versions['skins/bblue/images/mod_toplight_left.jpg']='';
-$versions['skins/bblue/images/mod_toplight_right.jpg']='';
-$versions['skins/bblue/images/mod_under_hl.jpg']='';
-$versions['skins/bblue/images/screenshot.jpg']='';
-$versions['skins/bgreen/images/mod_headliner.jpg']='';
-$versions['skins/bgreen/images/mod_navbar.jpg']='';
-$versions['skins/bgreen/images/mod_toplight_bg.jpg']='';
-$versions['skins/bgreen/images/mod_toplight_left.gif']='';
-$versions['skins/bgreen/images/mod_toplight_left.jpg']='';
-$versions['skins/bgreen/images/mod_toplight_right.gif']='';
-$versions['skins/bgreen/images/mod_toplight_right.jpg']='';
-$versions['skins/bgreen/images/mod_under_hl.jpg']='';
-$versions['skins/bgreen/images/screenshot.jpg']='';
-$versions['skins/bgreen2/images/mod_headliner.jpg']='';
-$versions['skins/bgreen2/images/mod_navbar.jpg']='';
-$versions['skins/bgreen2/images/mod_toplight_bg.jpg']='';
-$versions['skins/bgreen2/images/mod_toplight_left.jpg']='';
-$versions['skins/bgreen2/images/mod_toplight_right.jpg']='';
-$versions['skins/bgreen2/images/mod_under_hl.jpg']='';
-$versions['skins/bgreen2/images/screenshot.jpg']='';
-$versions['skins/black/images/mod_navbar.jpg']='';
-$versions['skins/black/images/mod_titlebar.jpg']='';
-$versions['skins/black/images/screenshot.jpg']='';
-$versions['skins/bluemod/images/mod_background.jpg']='';
-$versions['skins/bluemod/images/mod_navbar.jpg']='';
-$versions['skins/bluemod/images/mod_titlebar.jpg']='';
-$versions['skins/bluemod/images/mod_titlemid.jpg']='';
-$versions['skins/bluemod/images/screenshot.jpg']='';
-$versions['skins/bpurple/images/mod_headliner.jpg']='';
-$versions['skins/bpurple/images/mod_navbar.jpg']='';
-$versions['skins/bpurple/images/mod_toplight_bg.jpg']='';
-$versions['skins/bpurple/images/mod_toplight_left.jpg']='';
-$versions['skins/bpurple/images/mod_toplight_right.jpg']='';
-$versions['skins/bpurple/images/mod_under_hl.jpg']='';
-$versions['skins/bpurple/images/screenshot.jpg']='';
-$versions['skins/bred/images/mod_headliner.jpg']='';
-$versions['skins/bred/images/mod_navbar.jpg']='';
-$versions['skins/bred/images/mod_toplight_bg.jpg']='';
-$versions['skins/bred/images/mod_toplight_left.gif']='';
-$versions['skins/bred/images/mod_toplight_left.jpg']='';
-$versions['skins/bred/images/mod_toplight_right.gif']='';
-$versions['skins/bred/images/mod_toplight_right.jpg']='';
-$versions['skins/bred/images/mod_under_hl.jpg']='';
-$versions['skins/bred/images/screenshot.jpg']='';
-$versions['skins/bubbles/images/mod_navbar.jpg']='';
-$versions['skins/bubbles/images/mod_toplight_bg.jpg']='';
-$versions['skins/bubbles/images/mod_toplight_left.jpg']='';
-$versions['skins/bubbles/images/mod_toplight_right.jpg']='';
-$versions['skins/bubbles/images/screenshot.jpg']='';
-$versions['skins/butterfly_green/images/mod_box.jpg']='';
-$versions['skins/butterfly_green/images/mod_headliner.jpg']='';
-$versions['skins/butterfly_green/images/mod_navbar.jpg']='';
-$versions['skins/butterfly_green/images/mod_toplight_bg.jpg']='';
-$versions['skins/butterfly_green/images/mod_toplight_left.jpg']='';
-$versions['skins/butterfly_green/images/screenshot.jpg']='';
-$versions['skins/greenpurple/images/mod_descbg.jpg']='';
-$versions['skins/greenpurple/images/mod_navbar.jpg']='';
-$versions['skins/greenpurple/images/mod_navbox.jpg']='';
-$versions['skins/greenpurple/images/mod_titlebar.jpg']='';
-$versions['skins/greenpurple/images/mod_titlelft.jpg']='';
-$versions['skins/greenpurple/images/mod_titlemid.jpg']='';
-$versions['skins/greenpurple/images/mod_titlert.jpg']='';
-$versions['skins/greenpurple/images/screenshot.jpg']='';
-$versions['skins/hotred/images/mod_descbg.jpg']='';
-$versions['skins/hotred/images/mod_descbox.jpg']='';
-$versions['skins/hotred/images/mod_navbar.jpg']='';
-$versions['skins/hotred/images/mod_navbox.jpg']='';
-$versions['skins/hotred/images/mod_titlebar.jpg']='';
-$versions['skins/hotred/images/mod_titlemid.jpg']='';
-$versions['skins/hotred/images/screenshot.jpg']='';
-$versions['skins/jenskin/css/screen.css']='14310';
-$versions['skins/jenskin/images/screenshot.jpg']='';
-$versions['skins/jenskin/images/simplex-bkg.gif']='';
-$versions['skins/lilac/images/mod_descbg.jpg']='';
-$versions['skins/lilac/images/mod_navbar.jpg']='';
-$versions['skins/lilac/images/mod_navbox.jpg']='';
-$versions['skins/lilac/images/mod_titlebar.jpg']='';
-$versions['skins/lilac/images/mod_titlemid.jpg']='';
-$versions['skins/lilac/images/screenshot.jpg']='';
-$versions['skins/madmod1/images/background.jpg']='';
-$versions['skins/madmod1/images/background9.jpg']='';
-$versions['skins/madmod1/images/bar.gif']='';
-$versions['skins/madmod1/images/button9.jpg']='';
-$versions['skins/madmod1/images/gallery9.jpg']='';
-$versions['skins/madmod1/images/headbg9.jpg']='';
-$versions['skins/madmod1/images/navbg9.jpg']='';
-$versions['skins/madmod1/images/next9.jpg']='';
-$versions['skins/madmod1/images/prev9.jpg']='';
-$versions['skins/madmod1/images/screenshot.jpg']='';
-$versions['skins/madmod1/images/titlehead9.jpg']='';
-$versions['skins/madmod1/tpl/album.footer.tpl']='';
-$versions['skins/madmod1/tpl/album.header.tpl']='7430';
-$versions['skins/madmod1/tpl/breadcrumb.tpl']='8909';
-$versions['skins/madmod1/tpl/footer.tpl']='';
-$versions['skins/madmod1/tpl/gallery.footer.tpl']='';
-$versions['skins/madmod1/tpl/gallery.header.tpl']='7430';
-$versions['skins/madmod1/tpl/header.tpl']='';
-$versions['skins/madmod1/tpl/menu.tpl']='';
-$versions['skins/madmod1/tpl/navigator.tpl']='';
-$versions['skins/madmod1/tpl/navphoto.tpl']='';
-$versions['skins/madmod1/tpl/photo.footer.tpl']='';
-$versions['skins/madmod1/tpl/photo.header.tpl']='7430';
-$versions['skins/madmod1/tpl/search.footer.tpl']='';
-$versions['skins/madmod1/tpl/search.header.tpl']='';
-$versions['skins/madmod1/tpl/slideshow.footer.tpl']='';
-$versions['skins/madmod1/tpl/slideshow.header.tpl']='7430';
-$versions['skins/paint/images/mod_background.jpg']='';
-$versions['skins/paint/images/mod_descbg.jpg']='';
-$versions['skins/paint/images/mod_navbar.jpg']='';
-$versions['skins/paint/images/mod_toplight_bg.jpg']='';
-$versions['skins/paint/images/mod_toplight_left.gif']='';
-$versions['skins/paint/images/mod_toplight_right.gif']='';
-$versions['skins/paint/images/screenshot.jpg']='';
-$versions['skins/redmarble/images/mod_background.jpg']='';
-$versions['skins/redmarble/images/mod_navbar.jpg']='';
-$versions['skins/redmarble/images/mod_titlebar.jpg']='';
-$versions['skins/redmarble/images/mod_titlemid.jpg']='';
-$versions['skins/redmarble/images/screenshot.jpg']='';
-$versions['skins/slick/images/mod_background.jpg']='';
-$versions['skins/slick/images/mod_descbg.jpg']='';
-$versions['skins/slick/images/mod_headliner.jpg']='';
-$versions['skins/slick/images/mod_navbar.jpg']='';
-$versions['skins/slick/images/mod_pixel.gif']='';
-$versions['skins/slick/images/mod_title.jpg']='';
-$versions['skins/slick/images/mod_title_bg.jpg']='';
-$versions['skins/slick/images/mod_title_left.jpg']='';
-$versions['skins/slick/images/mod_title_right.jpg']='';
-$versions['skins/slick/images/mod_titlemid.jpg']='';
-$versions['skins/slick/images/mod_toplight_bg.jpg']='';
-$versions['skins/slick/images/mod_toplight_left.jpg']='';
-$versions['skins/slick/images/mod_toplight_right.jpg']='';
-$versions['skins/slick/images/screenshot.jpg']='';
-$versions['skins/suit/images/mod_navbar.jpg']='';
-$versions['skins/suit/images/mod_titlebar.jpg']='';
-$versions['skins/suit/images/mod_titlemid.jpg']='';
-$versions['skins/suit/images/screenshot.jpg']='';
-$versions['skins/white1/images/mod_navbar.jpg']='';
-$versions['skins/white1/images/mod_titlebar.jpg']='';
-$versions['skins/white1/images/mod_titlemid.jpg']='';
-$versions['skins/white1/images/screenshot.jpg']='';
-$versions['skins/yellow/images/mod_navbar.jpg']='';
-$versions['skins/yellow/images/mod_titlebar.jpg']='';
-$versions['skins/yellow/images/mod_titlemid.jpg']='';
-$versions['skins/yellow/images/screenshot.jpg']='';
-$versions['slideshow.php']='13338';
-$versions['sort_album.php']='13338';
-$versions['stamp_preview.php']='13338';
-$versions['stats-wizard.php']='13338';
-$versions['stats.php']='12188';
-$versions['upgrade_album.php']='13338';
-$versions['upgrade_users.php']='13338';
-$versions['user_preferences.php']='13849';
-$versions['util.php']='14311';
-$versions['view_album.php']='14311';
-$versions['view_comments.php']='13338';
-$versions['view_photo.php']='14311';
-$versions['view_photo_properties.php']='13338';
-$versions['watermark_album.php']='13338';
 ?>
diff -Naur gallery-1.5.4/po/create_po_template.sh gallery-1.5.5/po/create_po_template.sh
--- gallery-1.5.4/po/create_po_template.sh	2005-11-05 02:53:07.000000000 +0100
+++ gallery-1.5.5/po/create_po_template.sh	2006-09-08 17:15:00.000000000 +0200
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: create_po_template.sh 11924 2005-11-05 01:53:07Z jenst $
+# $Id: create_po_template.sh 14478 2006-09-08 15:15:00Z jenst $
 #
 #note: requires xgettext version 0.12.1 or greater
 #
@@ -9,15 +9,30 @@
 
 ##### CORE .pot ############
 cat copyright-header.txt > gallery-core.pot
-
-xgettext --files-from=filelist-core -LPHP --keyword=gTranslate:2,3 --no-wrap --msgid-bugs-address="gallery-translations@lists.sourceforge.net" -o - | tail +7 >> gallery-core.pot
+xgettext -LPHP				\
+	--files-from=filelist-core	\
+	--keyword=gTranslate:2		\
+	--keyword=gTranslate:2,3	\
+	--no-wrap 			\
+	--msgid-bugs-address="gallery-translations@lists.sourceforge.net" \
+	-o - | tail +7 >> gallery-core.pot
 
 ##### CONFIG .pot
 cat copyright-header.txt > gallery-config.pot
-
-xgettext --files-from=filelist-config -LPHP --keyword=gTranslate:2,3 --no-wrap --msgid-bugs-address="gallery-translations@lists.sourceforge.net" -o - | tail +7 >> gallery-config.pot
+xgettext -LPHP				\
+	--files-from=filelist-config	\
+	--keyword=gTranslate:2		\
+	--keyword=gTranslate:2,3	\
+	--no-wrap 			\
+	--msgid-bugs-address="gallery-translations@lists.sourceforge.net" \
+	-o - | tail +7 >> gallery-config.pot
 
 ##### COMMON .pot
 cat copyright-header.txt > gallery-common.pot
-
-xgettext --files-from=filelist-common -LPHP --keyword=gTranslate:2,3 --no-wrap --msgid-bugs-address="gallery-translations@lists.sourceforge.net" -o - | tail +7 >> gallery-common.pot
+xgettext -LPHP				\
+	--files-from=filelist-common	\
+	--keyword=gTranslate:2		\
+	--keyword=gTranslate:2,3	\
+	--no-wrap 			\
+	--msgid-bugs-address="gallery-translations@lists.sourceforge.net" \
+	-o - | tail +7 >> gallery-common.pot
diff -Naur gallery-1.5.4/po/gallery-common.pot gallery-1.5.5/po/gallery-common.pot
--- gallery-1.5.4/po/gallery-common.pot	2006-08-14 10:05:15.000000000 +0200
+++ gallery-1.5.5/po/gallery-common.pot	2006-11-12 14:09:59.000000000 +0100
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 #
-# $Id: gallery-common.pot 14313 2006-08-14 08:05:15Z jenst $
+# $Id: gallery-common.pot 15167 2006-11-12 13:09:59Z jenst $
 #
 # @version	<Version>
 # @package      Languagepack
@@ -27,7 +27,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: gallery-translations@lists.sourceforge.net\n"
-"POT-Creation-Date: 2006-08-14 10:04+0200\n"
+"POT-Creation-Date: 2006-11-12 14:09+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -643,8 +643,8 @@
 msgid "Done."
 msgstr ""
 
-#: ../lib/imageManipulation.php:223 ../lib/imageManipulation.php:459
-#: ../lib/imageManipulation.php:511 ../lib/imageManipulation.php:793
+#: ../lib/imageManipulation.php:223 ../lib/imageManipulation.php:467
+#: ../lib/imageManipulation.php:519 ../lib/imageManipulation.php:801
 msgid "You have no graphics package configured for use!"
 msgstr ""
 
@@ -652,93 +652,93 @@
 msgid "No watermark name specified!"
 msgstr ""
 
-#: ../lib/imageManipulation.php:477
+#: ../lib/imageManipulation.php:485
 msgid "Cropping Image"
 msgstr ""
 
-#: ../lib/imageManipulation.php:541
+#: ../lib/imageManipulation.php:549
 #, php-format
 msgid "Generating squared Version to %dpx"
 msgstr ""
 
-#: ../lib/imageManipulation.php:562
+#: ../lib/imageManipulation.php:570
 msgid "No Cropping Done"
 msgstr ""
 
-#: ../lib/imageManipulation.php:572
+#: ../lib/imageManipulation.php:580
 #, php-format
 msgid "Call to %s failed in %s for file %s!"
 msgstr ""
 
-#: ../lib/imageManipulation.php:576
+#: ../lib/imageManipulation.php:584
 #, php-format
 msgid "File %s type %d."
 msgstr ""
 
-#: ../lib/imageManipulation.php:613 ../lib/imageManipulation.php:637
+#: ../lib/imageManipulation.php:621 ../lib/imageManipulation.php:645
 #, php-format
 msgid "Files with type %s are not supported by Gallery with netPBM"
 msgstr ""
 
-#: ../lib/imageManipulation.php:686
+#: ../lib/imageManipulation.php:694
 #, php-format
 msgid "Compressing image: %s"
 msgstr ""
 
-#: ../lib/imageManipulation.php:691
+#: ../lib/imageManipulation.php:699
 msgid "Not all necessary params for resizing given."
 msgstr ""
 
-#: ../lib/imageManipulation.php:692
+#: ../lib/imageManipulation.php:700
 #, php-format
 msgid "Resizing params: src: %s, dest : %s, targetSize: %s"
 msgstr ""
 
-#: ../lib/imageManipulation.php:735
+#: ../lib/imageManipulation.php:743
 msgid "Unable to preserve EXIF data (jhead not installed)"
 msgstr ""
 
-#: ../lib/imageManipulation.php:778
+#: ../lib/imageManipulation.php:786
 msgid "Using IM high quality"
 msgstr ""
 
-#: ../lib/imageManipulation.php:782
+#: ../lib/imageManipulation.php:790
 msgid "Not using IM high quality"
 msgstr ""
 
-#: ../lib/lang.php:747
+#: ../lib/lang.php:787
 msgid "Upload Date"
 msgstr ""
 
-#: ../lib/lang.php:748
+#: ../lib/lang.php:788
 msgid "Capture Date"
 msgstr ""
 
-#: ../lib/lang.php:749
+#: ../lib/lang.php:789
 msgid "Image Size"
 msgstr ""
 
-#: ../lib/lang.php:750
+#: ../lib/lang.php:790
 msgid "Additional EXIF Data"
 msgstr ""
 
-#: ../lib/lang.php:758
+#: ../lib/lang.php:798
 msgid "title"
 msgstr ""
 
-#: ../lib/lang.php:759
+#: ../lib/lang.php:799
 msgid "Title"
 msgstr ""
 
-#: ../lib/lang.php:760
+#: ../lib/lang.php:800
 msgid "Description"
 msgstr ""
 
-#: ../lib/lang.php:761
+#: ../lib/lang.php:801
 msgid "description"
 msgstr ""
 
-#: ../lib/lang.php:762
+#: ../lib/lang.php:802
 msgid "Alt Text / onMouseOver"
 msgstr ""
 
@@ -1351,23 +1351,23 @@
 msgid "Value was set to given default. Because the original value is not numeric."
 msgstr ""
 
-#: ../lib/valchecks.php:90
+#: ../lib/valchecks.php:91
 msgid "The given Value is not numeric."
 msgstr ""
 
-#: ../lib/valchecks.php:96
+#: ../lib/valchecks.php:97
 msgid "Value was set to given default. Because the original value is not a valid Integer"
 msgstr ""
 
-#: ../lib/valchecks.php:98
+#: ../lib/valchecks.php:100
 msgid "The given Value not a valid Integer."
 msgstr ""
 
-#: ../lib/valchecks.php:109
+#: ../lib/valchecks.php:112
 msgid "Value was set to given default. Because the original value is not a valid text"
 msgstr ""
 
-#: ../lib/valchecks.php:112
+#: ../lib/valchecks.php:115
 msgid "Value was corrected, because the original value is not a valid text"
 msgstr ""
 
diff -Naur gallery-1.5.4/po/gallery-config.pot gallery-1.5.5/po/gallery-config.pot
--- gallery-1.5.4/po/gallery-config.pot	2006-08-14 10:05:15.000000000 +0200
+++ gallery-1.5.5/po/gallery-config.pot	2006-11-12 14:09:59.000000000 +0100
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 #
-# $Id: gallery-config.pot 14313 2006-08-14 08:05:15Z jenst $
+# $Id: gallery-config.pot 15167 2006-11-12 13:09:59Z jenst $
 #
 # @version	<Version>
 # @package      Languagepack
@@ -27,7 +27,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: gallery-translations@lists.sourceforge.net\n"
-"POT-Creation-Date: 2006-08-14 10:04+0200\n"
+"POT-Creation-Date: 2006-11-12 14:09+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -268,8 +268,8 @@
 msgid "Only the default locale for this machine is available, so date format will not change for different languages."
 msgstr ""
 
-#: ../lib/setup.php:932 ../lib/setup.php:1012 ../setup/config_data.inc:777
-#: ../setup/config_data.inc:787 ../setup/config_data.inc:1320
+#: ../lib/setup.php:932 ../lib/setup.php:1012 ../setup/config_data.inc:779
+#: ../setup/config_data.inc:789 ../setup/config_data.inc:1322
 msgid "Advanced"
 msgstr ""
 
@@ -313,7 +313,7 @@
 msgstr ""
 
 #: ../lib/setup.php:1087 ../lib/setup.php:1096 ../lib/setup.php:1101
-#: ../setup/config_data.inc:1855
+#: ../setup/config_data.inc:1857
 msgid "Vote words and values"
 msgstr ""
 
@@ -642,8 +642,8 @@
 msgid "Your installation passed with flying colors!  Go go go!"
 msgstr ""
 
-#: ../setup/check.inc:210 ../setup/constants.inc:44 ../setup/constants.inc:188
-#: ../setup/defaults.inc:46 ../setup/defaults.inc:133
+#: ../setup/check.inc:210 ../setup/constants.inc:44 ../setup/constants.inc:189
+#: ../setup/defaults.inc:46 ../setup/defaults.inc:134
 msgid "Next Step"
 msgstr ""
 
@@ -840,7 +840,11 @@
 msgstr ""
 
 #: ../setup/check_versions.php:45
-msgid "If you see any error(s), we highly suggest to get the actual version of that file(s)."
+msgid "If you see any error(s), we highly suggest to get the actual version of those files."
+msgstr ""
+
+#: ../setup/check_versions.php:54 ../setup/check_versions.php:59
+msgid "All files okay."
 msgstr ""
 
 #: ../setup/check_versions.php:54
@@ -850,10 +854,6 @@
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../setup/check_versions.php:54 ../setup/check_versions.php:59
-msgid "All files okay."
-msgstr ""
-
 #: ../setup/check_versions.php:56
 #, php-format
 msgid "There are problems with the following files.  Please correct them before configuring %s."
@@ -872,16 +872,16 @@
 msgstr ""
 
 #: ../setup/check_versions.php:64
+msgid "All files are up-to-date."
+msgstr ""
+
+#: ../setup/check_versions.php:64
 #, php-format
 msgid "One file is up-to-date."
 msgid_plural "%d files are up-to-date."
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../setup/check_versions.php:64
-msgid "All files are up-to-date."
-msgstr ""
-
 #: ../setup/check_versions.php:66
 msgid "The following files are up-to-date."
 msgstr ""
@@ -897,7 +897,7 @@
 
 #: ../setup/config_data.inc:76 ../setup/config_data.inc:86
 #: ../setup/config_data.inc:94 ../setup/config_data.inc:134
-#: ../setup/config_data.inc:816 ../setup/confirm.inc:391
+#: ../setup/config_data.inc:818 ../setup/confirm.inc:391
 msgid "Note:"
 msgstr ""
 
@@ -1225,1754 +1225,1758 @@
 msgid "Album directory"
 msgstr ""
 
-#: ../setup/config_data.inc:317 ../setup/config_data.inc:330
-#: ../setup/config_data.inc:343 ../setup/config_data.inc:354
+#: ../setup/config_data.inc:317 ../setup/config_data.inc:332
+#: ../setup/config_data.inc:345 ../setup/config_data.inc:356
 msgid "REQUIRED"
 msgstr ""
 
 #: ../setup/config_data.inc:318
 #, php-format
-msgid "The full path on physical disk to the directory where your photos will be stored.  This directory should start off empty.  Gallery will fill it.  Note that this directory needs to have write access by the user who is running the web server (in your case this user is %s)."
+msgid "The full filesystem path on physical disk to the directory where your photos will be stored.  This directory should start off empty.  Gallery will fill it.  Note that this directory needs to have write access by the user who is running the web server (in your case this user is %s)."
 msgstr ""
 
-#: ../setup/config_data.inc:329
-msgid "Temporary directory"
+#: ../setup/config_data.inc:320
+msgid "Examples: "
 msgstr ""
 
 #: ../setup/config_data.inc:331
+msgid "Temporary directory"
+msgstr ""
+
+#: ../setup/config_data.inc:333
 #, php-format
 msgid "The filesystem path to a temporary directory.  E.g. %s or %s.  Note that if you have <b>open_basedir</b> configured on your system, then this temporary directory must be inside the <b>open_basedir</b> path!  In that case you may need to create the directory yourself and make sure that it's writable by the webserver process."
 msgstr ""
 
-#: ../setup/config_data.inc:344
+#: ../setup/config_data.inc:346
 #, php-format
 msgid "The full URL to the Gallery web application. (e.g. %s) Gallery can operate with relative URLs, however some features, such as printing, may not function correctly."
 msgstr ""
 
-#: ../setup/config_data.inc:353
+#: ../setup/config_data.inc:355
 msgid "Albums URL"
 msgstr ""
 
-#: ../setup/config_data.inc:355
+#: ../setup/config_data.inc:357
 #, php-format
 msgid "The full URL to your album directory on your web server.  (e.g. %s) Gallery can operate with relative URLs, however some features, such as printing, may not function correctly."
 msgstr ""
 
-#: ../setup/config_data.inc:364
+#: ../setup/config_data.inc:366
 msgid "Thumbnail image"
 msgstr ""
 
-#: ../setup/config_data.inc:365
+#: ../setup/config_data.inc:367
 #, php-format
 msgid "The filesystem path to the thumbnail image to show for movies. E.g. %s"
 msgstr ""
 
-#: ../setup/config_data.inc:372
+#: ../setup/config_data.inc:374
 msgid "Mirror sites"
 msgstr ""
 
-#: ../setup/config_data.inc:373
+#: ../setup/config_data.inc:375
 #, php-format
 msgid "A list of URLs that contain mirrors of your albums directory.  Specify one URL per line with the ones that are more reliable towards the top.  E.g. %s"
 msgstr ""
 
-#: ../setup/config_data.inc:390
+#: ../setup/config_data.inc:392
 msgid "Toolkits / image processing"
 msgstr ""
 
-#: ../setup/config_data.inc:394
+#: ../setup/config_data.inc:396
 msgid "Graphics suite to use"
 msgstr ""
 
-#: ../setup/config_data.inc:395
+#: ../setup/config_data.inc:397
 msgid "This setting tells Gallery which set of graphics tools you prefer it to use.  If Gallery says both are okay (on the first page) then this is simply user preference.  Otherwise go with the one that Gallery was able to find without error."
 msgstr ""
 
-#: ../setup/config_data.inc:403
+#: ../setup/config_data.inc:405
 msgid "ImageMagick Settings"
 msgstr ""
 
-#: ../setup/config_data.inc:408
+#: ../setup/config_data.inc:410
 msgid "Path to ImageMagick"
 msgstr ""
 
-#: ../setup/config_data.inc:409
+#: ../setup/config_data.inc:411
 msgid "The path to the directory containing ImageMagick on your system."
 msgstr ""
 
-#: ../setup/config_data.inc:410 ../setup/config_data.inc:438
+#: ../setup/config_data.inc:412 ../setup/config_data.inc:440
 #, php-format
 msgid "This path is only required if you choosed %s above. Otherwise you can leave it like it is, or empty."
 msgstr ""
 
-#: ../setup/config_data.inc:413
+#: ../setup/config_data.inc:415
 msgid "I can't find ImageMagick at the location you provided."
 msgstr ""
 
-#: ../setup/config_data.inc:428
+#: ../setup/config_data.inc:430
 msgid "NetPBM Settings"
 msgstr ""
 
-#: ../setup/config_data.inc:433
+#: ../setup/config_data.inc:435
 msgid "Path to NetPBM"
 msgstr ""
 
-#: ../setup/config_data.inc:434
+#: ../setup/config_data.inc:436
 #, php-format
 msgid "The path to the directory containing NetPBM on your system.  If you downloaded NetPBM from the Gallery download page, don't forget to make the files executable.  E.g. %s or %s or %s"
 msgstr ""
 
-#: ../setup/config_data.inc:441
+#: ../setup/config_data.inc:443
 msgid "I can't find NetPBM at the location you provided."
 msgstr ""
 
-#: ../setup/config_data.inc:453
+#: ../setup/config_data.inc:455
 msgid "PNM to JPEG converter"
 msgstr ""
 
-#: ../setup/config_data.inc:454
+#: ../setup/config_data.inc:456
 msgid "This value is only relevant if you use NetPBM.  NetPBM uses a tool to encode its internal image format into JPEG.  This tool is called either <i>ppmtojpeg</i> or <i>pnmtojpeg</i> depending on the version of NetPBM that you have installed.  Check your NetPBM directory to see which one you have installed and specify it here.  If you aren't sure, just take a guess and we'll try to verify it for you."
 msgstr ""
 
-#: ../setup/config_data.inc:459
+#: ../setup/config_data.inc:461
 msgid "PNM Composite (Overlay)"
 msgstr ""
 
-#: ../setup/config_data.inc:460
+#: ../setup/config_data.inc:462
 msgid "This value is only relevant if you use NetPBM.  NetPBM uses a tool to overlay one image over another.  This tool is called either <i>pnmcomp</i> or <i>pamcomp</i> depending on the version of NetPBM that you have installed.  Check your NetPBM directory to see which one you have installed and specify it here.  If you aren't sure, just take a guess and we'll try to verify it for you."
 msgstr ""
 
-#: ../setup/config_data.inc:468
+#: ../setup/config_data.inc:470
 msgid "Auto-rotate images"
 msgstr ""
 
-#: ../setup/config_data.inc:469
+#: ../setup/config_data.inc:471
 msgid "Selecting this option has Gallery automatically attempt to rotate images on upload, based on the orientation information that is stored in JPEG EXIF data by some newer digital cameras."
 msgstr ""
 
-#: ../setup/config_data.inc:470
+#: ../setup/config_data.inc:472
 msgid "Requires Jhead EXIF parser v.1.9 or greater (See optional tools)."
 msgstr ""
 
-#: ../setup/config_data.inc:471 ../setup/config_data.inc:559
-#: ../setup/config_data.inc:578 ../setup/config_data.inc:591
-#: ../setup/config_data.inc:597 ../setup/config_data.inc:772
-#: ../setup/config_data.inc:820 ../setup/config_data.inc:861
-#: ../setup/config_data.inc:871 ../setup/config_data.inc:879
-#: ../setup/config_data.inc:888 ../setup/config_data.inc:897
-#: ../setup/config_data.inc:918 ../setup/config_data.inc:1004
-#: ../setup/config_data.inc:1031 ../setup/config_data.inc:1060
-#: ../setup/config_data.inc:1068 ../setup/config_data.inc:1070
-#: ../setup/config_data.inc:1101 ../setup/config_data.inc:1276
-#: ../setup/config_data.inc:1294 ../setup/config_data.inc:1323
-#: ../setup/config_data.inc:1333 ../setup/config_data.inc:1342
-#: ../setup/config_data.inc:1351 ../setup/config_data.inc:1384
-#: ../setup/config_data.inc:1425 ../setup/config_data.inc:1433
-#: ../setup/config_data.inc:1441 ../setup/config_data.inc:1588
-#: ../setup/config_data.inc:1597 ../setup/config_data.inc:1607
-#: ../setup/config_data.inc:1616 ../setup/config_data.inc:1666
-#: ../setup/config_data.inc:1675 ../setup/config_data.inc:1703
-#: ../setup/config_data.inc:1720 ../setup/config_data.inc:1738
-#: ../setup/config_data.inc:1747 ../setup/config_data.inc:1755
-#: ../setup/config_data.inc:1833 ../setup/config_data.inc:1842
-#: ../setup/config_data.inc:1897 ../setup/config_data.inc:1899
-#: ../setup/config_data.inc:1908 ../setup/config_data.inc:1936
-#: ../setup/config_data.inc:1960
+#: ../setup/config_data.inc:473 ../setup/config_data.inc:561
+#: ../setup/config_data.inc:580 ../setup/config_data.inc:593
+#: ../setup/config_data.inc:599 ../setup/config_data.inc:774
+#: ../setup/config_data.inc:822 ../setup/config_data.inc:863
+#: ../setup/config_data.inc:873 ../setup/config_data.inc:881
+#: ../setup/config_data.inc:890 ../setup/config_data.inc:899
+#: ../setup/config_data.inc:920 ../setup/config_data.inc:1006
+#: ../setup/config_data.inc:1033 ../setup/config_data.inc:1062
+#: ../setup/config_data.inc:1070 ../setup/config_data.inc:1072
+#: ../setup/config_data.inc:1103 ../setup/config_data.inc:1278
+#: ../setup/config_data.inc:1296 ../setup/config_data.inc:1325
+#: ../setup/config_data.inc:1335 ../setup/config_data.inc:1344
+#: ../setup/config_data.inc:1353 ../setup/config_data.inc:1386
+#: ../setup/config_data.inc:1427 ../setup/config_data.inc:1435
+#: ../setup/config_data.inc:1443 ../setup/config_data.inc:1590
+#: ../setup/config_data.inc:1599 ../setup/config_data.inc:1609
+#: ../setup/config_data.inc:1618 ../setup/config_data.inc:1668
+#: ../setup/config_data.inc:1677 ../setup/config_data.inc:1705
+#: ../setup/config_data.inc:1722 ../setup/config_data.inc:1740
+#: ../setup/config_data.inc:1749 ../setup/config_data.inc:1757
+#: ../setup/config_data.inc:1835 ../setup/config_data.inc:1844
+#: ../setup/config_data.inc:1899 ../setup/config_data.inc:1901
+#: ../setup/config_data.inc:1910 ../setup/config_data.inc:1938
+#: ../setup/config_data.inc:1962
 msgid "Yes"
 msgstr ""
 
-#: ../setup/config_data.inc:471 ../setup/config_data.inc:559
-#: ../setup/config_data.inc:578 ../setup/config_data.inc:591
-#: ../setup/config_data.inc:597 ../setup/config_data.inc:772
-#: ../setup/config_data.inc:815 ../setup/config_data.inc:821
-#: ../setup/config_data.inc:862 ../setup/config_data.inc:872
-#: ../setup/config_data.inc:880 ../setup/config_data.inc:889
-#: ../setup/config_data.inc:898 ../setup/config_data.inc:917
-#: ../setup/config_data.inc:1002 ../setup/config_data.inc:1005
-#: ../setup/config_data.inc:1032 ../setup/config_data.inc:1061
-#: ../setup/config_data.inc:1071 ../setup/config_data.inc:1102
-#: ../setup/config_data.inc:1277 ../setup/config_data.inc:1295
-#: ../setup/config_data.inc:1324 ../setup/config_data.inc:1334
-#: ../setup/config_data.inc:1343 ../setup/config_data.inc:1352
-#: ../setup/config_data.inc:1385 ../setup/config_data.inc:1426
-#: ../setup/config_data.inc:1434 ../setup/config_data.inc:1442
-#: ../setup/config_data.inc:1589 ../setup/config_data.inc:1598
-#: ../setup/config_data.inc:1608 ../setup/config_data.inc:1617
-#: ../setup/config_data.inc:1667 ../setup/config_data.inc:1676
-#: ../setup/config_data.inc:1704 ../setup/config_data.inc:1721
-#: ../setup/config_data.inc:1739 ../setup/config_data.inc:1748
-#: ../setup/config_data.inc:1756 ../setup/config_data.inc:1831
-#: ../setup/config_data.inc:1834 ../setup/config_data.inc:1900
-#: ../setup/config_data.inc:1906 ../setup/config_data.inc:1909
-#: ../setup/config_data.inc:1937 ../setup/config_data.inc:1961
+#: ../setup/config_data.inc:473 ../setup/config_data.inc:561
+#: ../setup/config_data.inc:580 ../setup/config_data.inc:593
+#: ../setup/config_data.inc:599 ../setup/config_data.inc:774
+#: ../setup/config_data.inc:817 ../setup/config_data.inc:823
+#: ../setup/config_data.inc:864 ../setup/config_data.inc:874
+#: ../setup/config_data.inc:882 ../setup/config_data.inc:891
+#: ../setup/config_data.inc:900 ../setup/config_data.inc:919
+#: ../setup/config_data.inc:1004 ../setup/config_data.inc:1007
+#: ../setup/config_data.inc:1034 ../setup/config_data.inc:1063
+#: ../setup/config_data.inc:1073 ../setup/config_data.inc:1104
+#: ../setup/config_data.inc:1279 ../setup/config_data.inc:1297
+#: ../setup/config_data.inc:1326 ../setup/config_data.inc:1336
+#: ../setup/config_data.inc:1345 ../setup/config_data.inc:1354
+#: ../setup/config_data.inc:1387 ../setup/config_data.inc:1428
+#: ../setup/config_data.inc:1436 ../setup/config_data.inc:1444
+#: ../setup/config_data.inc:1591 ../setup/config_data.inc:1600
+#: ../setup/config_data.inc:1610 ../setup/config_data.inc:1619
+#: ../setup/config_data.inc:1669 ../setup/config_data.inc:1678
+#: ../setup/config_data.inc:1706 ../setup/config_data.inc:1723
+#: ../setup/config_data.inc:1741 ../setup/config_data.inc:1750
+#: ../setup/config_data.inc:1758 ../setup/config_data.inc:1833
+#: ../setup/config_data.inc:1836 ../setup/config_data.inc:1902
+#: ../setup/config_data.inc:1908 ../setup/config_data.inc:1911
+#: ../setup/config_data.inc:1939 ../setup/config_data.inc:1963
 msgid "No"
 msgstr ""
 
-#: ../setup/config_data.inc:476
+#: ../setup/config_data.inc:478
 msgid "JPEG Quality <b>(Advanced)</b>"
 msgstr ""
 
-#: ../setup/config_data.inc:477
+#: ../setup/config_data.inc:479
 msgid "The JPEG file format trades off size versus quality.  Gallery can control the quality of the JPEGs that it produces when you resize, rotate or make thumbnails from JPEG images.  Higher quality images are larger in size than lower quality images.  However, in many cases there's a point at which raising the quality increases the size of the files without noticeably affecting the appearance of the image.  Setting this value to &quot;100&quot; is not recommended. If you notice that your thumbnails and resized images are larger than the originals and you don't like this, you can try lowering this value.  <b>Note</b> that changing this value will only affect images changed in the <i>future</i>."
 msgstr ""
 
-#: ../setup/config_data.inc:481
+#: ../setup/config_data.inc:483
 msgid "JPEG Quality for resized images"
 msgstr ""
 
-#: ../setup/config_data.inc:491
+#: ../setup/config_data.inc:493
 msgid "JPEG Quality for highlight images on the startpage"
 msgstr ""
 
-#: ../setup/config_data.inc:501
+#: ../setup/config_data.inc:503
 msgid "JPEG Quality for thumbs inside the albums"
 msgstr ""
 
-#: ../setup/config_data.inc:520
+#: ../setup/config_data.inc:522
 msgid "Embedded Gallery"
 msgstr ""
 
-#: ../setup/config_data.inc:521
+#: ../setup/config_data.inc:523
 msgid "Gallery automatically detects when it is embedded within one of the supported CMS environments, however there may be some environments which have special options which need to be set.  Any options which are not automatically detected will need to be specified on this screen."
 msgstr ""
 
-#: ../setup/config_data.inc:521
+#: ../setup/config_data.inc:523
 msgid "If your ISP or CMS requires register_globals to be enabled, you may be required to enable the 'Disable register_globals check' option under the Technical tab."
 msgstr ""
 
-#: ../setup/config_data.inc:524
+#: ../setup/config_data.inc:526
 msgid "GeekLog Dir"
 msgstr ""
 
-#: ../setup/config_data.inc:526
+#: ../setup/config_data.inc:528
 msgid "If you use Geeklog, please enter the location of the GeekLog public_html directory. i.e. '/path/to/geeklog/public_html'"
 msgstr ""
 
-#: ../setup/config_data.inc:539
+#: ../setup/config_data.inc:541
 msgid "Main Gallery page"
 msgstr ""
 
-#: ../setup/config_data.inc:542
+#: ../setup/config_data.inc:544
 msgid "Show the album tree ?"
 msgstr ""
 
-#: ../setup/config_data.inc:543
+#: ../setup/config_data.inc:545
 msgid "If you turn this option on, you'll see a list of sub-albums when you're browsing the top level of your Gallery.  This will make navigating to a specific sub album much easier. You can choose whether or not you want to limit the depth of the tree to avoid severely cluttering the appearance of the top Gallery page."
 msgstr ""
 
-#: ../setup/config_data.inc:545
+#: ../setup/config_data.inc:547
 msgid "No tree"
 msgstr ""
 
-#: ../setup/config_data.inc:546
+#: ../setup/config_data.inc:548
 #, php-format
 msgid "%d sublevel"
 msgstr ""
 
-#: ../setup/config_data.inc:547 ../setup/config_data.inc:548
 #: ../setup/config_data.inc:549 ../setup/config_data.inc:550
-#: ../setup/config_data.inc:551
+#: ../setup/config_data.inc:551 ../setup/config_data.inc:552
+#: ../setup/config_data.inc:553
 #, php-format
 msgid "%d sublevels"
 msgstr ""
 
-#: ../setup/config_data.inc:552
+#: ../setup/config_data.inc:554
 msgid "Complete Tree"
 msgstr ""
 
-#: ../setup/config_data.inc:557
+#: ../setup/config_data.inc:559
 msgid "Replace album tree with microthumbs"
 msgstr ""
 
-#: ../setup/config_data.inc:558
+#: ../setup/config_data.inc:560
 msgid "If you have set album tree to anything but off, this will display microthumbs of the sub albums instead of the album tree."
 msgstr ""
 
-#: ../setup/config_data.inc:563
+#: ../setup/config_data.inc:565
 msgid "Highlight size"
 msgstr ""
 
-#: ../setup/config_data.inc:564
+#: ../setup/config_data.inc:566
 msgid "The target size (in pixels) of thumbnails shown in the Gallery page (highlight images)."
 msgstr ""
 
-#: ../setup/config_data.inc:570
+#: ../setup/config_data.inc:572
 msgid "Highlight Ratio"
 msgstr ""
 
-#: ../setup/config_data.inc:571
+#: ../setup/config_data.inc:573
 msgid "The ratio in which the highlights are made. This affects only new highlights. For existing use 'rebuild highlights'"
 msgstr ""
 
-#: ../setup/config_data.inc:572 ../setup/config_data.inc:1529
+#: ../setup/config_data.inc:574 ../setup/config_data.inc:1531
 msgid "As the original image"
 msgstr ""
 
-#: ../setup/config_data.inc:572
+#: ../setup/config_data.inc:574
 msgid "Square highlight"
 msgstr ""
 
-#: ../setup/config_data.inc:576
+#: ../setup/config_data.inc:578
 msgid "Show Owner"
 msgstr ""
 
-#: ../setup/config_data.inc:577
+#: ../setup/config_data.inc:579
 msgid "Show album owner's name next to each album?"
 msgstr ""
 
-#: ../setup/config_data.inc:582
+#: ../setup/config_data.inc:584
 msgid "Albums per page"
 msgstr ""
 
-#: ../setup/config_data.inc:583
+#: ../setup/config_data.inc:585
 msgid "How many albums should be displayed per Gallery page?"
 msgstr ""
 
-#: ../setup/config_data.inc:589
+#: ../setup/config_data.inc:591
 msgid "Search Engine"
 msgstr ""
 
-#: ../setup/config_data.inc:590
+#: ../setup/config_data.inc:592
 msgid "Display search engine on main Gallery page?"
 msgstr ""
 
-#: ../setup/config_data.inc:595
+#: ../setup/config_data.inc:597
 msgid "Accurate Photo Count"
 msgstr ""
 
-#: ../setup/config_data.inc:596
+#: ../setup/config_data.inc:598
 msgid "Display the album and photo count on the Gallery root page using an accurate, but incredibly slow, counting method.  This was added at the request of many users, however it is not recommended for Galleries where you will have large numbers of albums and photos.  Some examples have been shown to cause the index page to load in as long as 30 seconds with this option enabled."
 msgstr ""
 
-#: ../setup/config_data.inc:601
+#: ../setup/config_data.inc:603
 msgid "Frame around albums"
 msgstr ""
 
-#: ../setup/config_data.inc:602
+#: ../setup/config_data.inc:604
 msgid "On the main page, the image representing each album has a frame around it.  The following styles are available:"
 msgstr ""
 
-#: ../setup/config_data.inc:614
+#: ../setup/config_data.inc:616
 msgid "Optional tools"
 msgstr ""
 
-#: ../setup/config_data.inc:618
+#: ../setup/config_data.inc:620
 msgid "Archives"
 msgstr ""
 
-#: ../setup/config_data.inc:623 ../setup/config_data.inc:636
-#: ../setup/config_data.inc:649 ../setup/config_data.inc:662
+#: ../setup/config_data.inc:625 ../setup/config_data.inc:638
+#: ../setup/config_data.inc:651 ../setup/config_data.inc:664
 #, php-format
 msgid "The filesystem path to the <b>%s</b> binary.  E.g. %s or %s. This is optional so if you don't have it, don't worry about it too much."
 msgstr ""
 
-#: ../setup/config_data.inc:678
+#: ../setup/config_data.inc:680
 msgid "EXIF Data"
 msgstr ""
 
-#: ../setup/config_data.inc:683 ../setup/config_data.inc:696
+#: ../setup/config_data.inc:685 ../setup/config_data.inc:698
 #, php-format
 msgid "The filesystem path to the <b>%s</b> EXIF parser.  E.g. %s or %s. This is optional so if you don't have it, don't worry about it too much."
 msgstr ""
 
-#: ../setup/config_data.inc:712
+#: ../setup/config_data.inc:714
 msgid "Other"
 msgstr ""
 
-#: ../setup/config_data.inc:717
+#: ../setup/config_data.inc:719
 #, php-format
 msgid "The filesystem path to the <b>jpegtran</b> utility.  E.g. %s or %s.  This is optional so if you don't have it, don't worry about it too much."
 msgstr ""
 
-#: ../setup/config_data.inc:738
+#: ../setup/config_data.inc:740
 msgid "Languages and locales"
 msgstr ""
 
-#: ../setup/config_data.inc:741
+#: ../setup/config_data.inc:743
 msgid "Default language"
 msgstr ""
 
-#: ../setup/config_data.inc:743
+#: ../setup/config_data.inc:745
 #, php-format
 msgid "This is the language you will see as %s, and what users will see if no other preference is set."
 msgstr ""
 
-#: ../setup/config_data.inc:745
+#: ../setup/config_data.inc:747
 msgid "Language given by Browser"
 msgstr ""
 
-#: ../setup/config_data.inc:750
+#: ../setup/config_data.inc:752
 msgid "Multi language mode"
 msgstr ""
 
-#: ../setup/config_data.inc:751
+#: ../setup/config_data.inc:753
 msgid "Gallery has three multi language modes.  These affect the language that a user will see when visiting the site."
 msgstr ""
 
-#: ../setup/config_data.inc:754
+#: ../setup/config_data.inc:756
 msgid "Gallery is only displayed in one language"
 msgstr ""
 
-#: ../setup/config_data.inc:755
+#: ../setup/config_data.inc:757
 msgid "Gallery is displayed in the language the browser sends"
 msgstr ""
 
-#: ../setup/config_data.inc:756
+#: ../setup/config_data.inc:758
 msgid "The User can choose the language via pulldown menu or national flags."
 msgstr ""
 
-#: ../setup/config_data.inc:760
+#: ../setup/config_data.inc:762
 msgid "Available languages"
 msgstr ""
 
-#: ../setup/config_data.inc:763
+#: ../setup/config_data.inc:765
 msgid "These languages will be available as user choices in a pulldown menu or national flags, if you have choosen language Mode 3, and will be available to registered users as their default language in Mode 2 or 3."
 msgstr ""
 
-#: ../setup/config_data.inc:769
+#: ../setup/config_data.inc:771
 msgid "Show flags?"
 msgstr ""
 
-#: ../setup/config_data.inc:771
+#: ../setup/config_data.inc:773
 msgid "In Mode 3 you can choose to display national flags instead of a small pulldown menu for the available languages."
 msgstr ""
 
-#: ../setup/config_data.inc:777
+#: ../setup/config_data.inc:779
 msgid "Format for date strings."
 msgstr ""
 
-#: ../setup/config_data.inc:778 ../setup/config_data.inc:788
+#: ../setup/config_data.inc:780 ../setup/config_data.inc:790
 #, php-format
 msgid "This format string will be used to display %s in %s.  It is recommended to use %s which will change format depending on language choice.  However, if you wish to change this string, please look at the %sPHP documentation%s."
 msgstr ""
 
-#: ../setup/config_data.inc:779
+#: ../setup/config_data.inc:781
 msgid "date without time"
 msgstr ""
 
-#: ../setup/config_data.inc:780 ../setup/config_data.inc:790
+#: ../setup/config_data.inc:782 ../setup/config_data.inc:792
 msgid "http://www.php.net/manual/en/function.strftime.php"
 msgstr ""
 
-#: ../setup/config_data.inc:781
+#: ../setup/config_data.inc:783
 #, php-format
 msgid "For example, %s will display date like this: %s."
 msgstr ""
 
-#: ../setup/config_data.inc:787
+#: ../setup/config_data.inc:789
 msgid "Format for date/time strings."
 msgstr ""
 
-#: ../setup/config_data.inc:789
+#: ../setup/config_data.inc:791
 msgid "date with time"
 msgstr ""
 
-#: ../setup/config_data.inc:791
+#: ../setup/config_data.inc:793
 #, php-format
 msgid "For example, %s will display date and time like this: %s."
 msgstr ""
 
-#: ../setup/config_data.inc:808
+#: ../setup/config_data.inc:810
 msgid "Email and Registration"
 msgstr ""
 
-#: ../setup/config_data.inc:809
+#: ../setup/config_data.inc:811
 #, php-format
 msgid "If you are having problems with email, please run the %s diagnostic."
 msgstr ""
 
-#: ../setup/config_data.inc:810 ../setup/diagnostics.php:90
+#: ../setup/config_data.inc:812 ../setup/diagnostics.php:90
 msgid "Check Email"
 msgstr ""
 
-#: ../setup/config_data.inc:813
+#: ../setup/config_data.inc:815
 msgid "Enable email"
 msgstr ""
 
-#: ../setup/config_data.inc:815
+#: ../setup/config_data.inc:817
 #, php-format
 msgid "Turns email on for the whole gallery.  If you set this to %s then none of the rest of this section will apply."
 msgstr ""
 
-#: ../setup/config_data.inc:817
+#: ../setup/config_data.inc:819
 msgid "If you enable these settings you give your users the opportunity to let Gallery send them their lost password via email."
 msgstr ""
 
-#: ../setup/config_data.inc:818
+#: ../setup/config_data.inc:820
 msgid "You need to enable this setting if you want to enable Self Registration."
 msgstr ""
 
-#: ../setup/config_data.inc:826
+#: ../setup/config_data.inc:828
 msgid "Admin email address"
 msgstr ""
 
-#: ../setup/config_data.inc:827
+#: ../setup/config_data.inc:829
 msgid "Set this value to a valid working email address to receive email notices upon certain user actions and also so that users know whom to reach in case of problems. You may specify more than one address by separating them with commas."
 msgstr ""
 
-#: ../setup/config_data.inc:834
+#: ../setup/config_data.inc:836
 msgid "Sender email address"
 msgstr ""
 
-#: ../setup/config_data.inc:835
+#: ../setup/config_data.inc:837
 msgid "Set this value to a valid working email address.  Emails that are automatically sent by Gallery will use this as a return address.  You should monitor this email address for bounce messages and replies from recipients."
 msgstr ""
 
-#: ../setup/config_data.inc:842
+#: ../setup/config_data.inc:844
 msgid "Email subject prefix"
 msgstr ""
 
-#: ../setup/config_data.inc:843
+#: ../setup/config_data.inc:845
 msgid "All Gallery emails will have this as the first part of their subject."
 msgstr ""
 
-#: ../setup/config_data.inc:849
+#: ../setup/config_data.inc:851
 msgid "Welcome email message text"
 msgstr ""
 
-#: ../setup/config_data.inc:857
+#: ../setup/config_data.inc:859
 msgid "Allow visitors to self register."
 msgstr ""
 
-#: ../setup/config_data.inc:858
+#: ../setup/config_data.inc:860
 msgid "Enabling this will allow visitors to your site to create their own login accounts."
 msgstr ""
 
-#: ../setup/config_data.inc:859 ../setup/config_data.inc:1664
+#: ../setup/config_data.inc:861 ../setup/config_data.inc:1666
 msgid "This option requires the Email feature to be enabled."
 msgstr ""
 
-#: ../setup/config_data.inc:865
+#: ../setup/config_data.inc:867
 msgid "Email"
 msgstr ""
 
-#: ../setup/config_data.inc:868
+#: ../setup/config_data.inc:870
 msgid "Self registered users can create albums."
 msgstr ""
 
-#: ../setup/config_data.inc:869
+#: ../setup/config_data.inc:871
 msgid "Enabling this will allow self registered users to create their own albums as soon as they register.  Not having this enabled means you will have to give them permission manually before they can create or alter any contents of the Gallery.  This setting is ignored if self-registration is disabled."
 msgstr ""
 
-#: ../setup/config_data.inc:876
+#: ../setup/config_data.inc:878
 msgid "Enable bulk account creation"
 msgstr ""
 
-#: ../setup/config_data.inc:877
+#: ../setup/config_data.inc:879
 msgid "This option allows you to create many new user accounts at one time by creating a file of new users."
 msgstr ""
 
-#: ../setup/config_data.inc:885
+#: ../setup/config_data.inc:887
 msgid "This allows the &quot;admin&quot; account to get email whenever a comment is added to any album"
 msgstr ""
 
-#: ../setup/config_data.inc:886
+#: ../setup/config_data.inc:888
 msgid "Admin comment email"
 msgstr ""
 
-#: ../setup/config_data.inc:894
+#: ../setup/config_data.inc:896
 msgid "This allows the &quot;admin&quot; account to get email whenever a change is made to any album"
 msgstr ""
 
-#: ../setup/config_data.inc:895
+#: ../setup/config_data.inc:897
 msgid "Admin Other Changes email"
 msgstr ""
 
-#: ../setup/config_data.inc:903
+#: ../setup/config_data.inc:905
 msgid "Admin notification of email activity"
 msgstr ""
 
-#: ../setup/config_data.inc:904
+#: ../setup/config_data.inc:906
 msgid "You can keep a record of every email that is sent by Gallery."
 msgstr ""
 
-#: ../setup/config_data.inc:906
+#: ../setup/config_data.inc:908
 msgid "Send summary email"
 msgstr ""
 
-#: ../setup/config_data.inc:907
+#: ../setup/config_data.inc:909
 msgid "Log to a file"
 msgstr ""
 
-#: ../setup/config_data.inc:908
+#: ../setup/config_data.inc:910
 msgid "Send duplicate email"
 msgstr ""
 
-#: ../setup/config_data.inc:914
+#: ../setup/config_data.inc:916
 msgid "Use non-local SMTP server."
 msgstr ""
 
-#: ../setup/config_data.inc:915
+#: ../setup/config_data.inc:917
 msgid "Use a smtp server running on a different machine (ie: Your ISPs mail server) to process outgoing gallery email."
 msgstr ""
 
-#: ../setup/config_data.inc:924
+#: ../setup/config_data.inc:926
 msgid "SMTP Server"
 msgstr ""
 
-#: ../setup/config_data.inc:925
+#: ../setup/config_data.inc:927
 msgid "The name or IP address of the SMTP Server you want to use."
 msgstr ""
 
-#: ../setup/config_data.inc:932
+#: ../setup/config_data.inc:934
 msgid "Sender hostname"
 msgstr ""
 
-#: ../setup/config_data.inc:933
+#: ../setup/config_data.inc:935
 msgid "The full hostname of the server you are sending the mail from (The Server where your Gallery is installed on). If your Server is behind a NAT, this would be the DNS name of your router."
 msgstr ""
 
-#: ../setup/config_data.inc:940
+#: ../setup/config_data.inc:942
 msgid "SMTP Port"
 msgstr ""
 
-#: ../setup/config_data.inc:941
+#: ../setup/config_data.inc:943
 msgid "The port on the SMTP server you are connecting to."
 msgstr ""
 
-#: ../setup/config_data.inc:948
+#: ../setup/config_data.inc:950
 msgid "SMTP account name"
 msgstr ""
 
-#: ../setup/config_data.inc:949
+#: ../setup/config_data.inc:951
 msgid "If your provide requires a username for outgoing email, use it here, otherwise leave blank."
 msgstr ""
 
-#: ../setup/config_data.inc:956
+#: ../setup/config_data.inc:958
 msgid "SMTP password"
 msgstr ""
 
-#: ../setup/config_data.inc:957
+#: ../setup/config_data.inc:959
 msgid "Password for sending email through smtp server. NOTE: This password is stored in cleartext in config.php. Make sure that permissions are set to keep others from getting at it!"
 msgstr ""
 
-#: ../setup/config_data.inc:971
+#: ../setup/config_data.inc:973
 msgid "Gallery wide slideshow"
 msgstr ""
 
-#: ../setup/config_data.inc:972
+#: ../setup/config_data.inc:974
 msgid "Adds a slide show link on the main page of the gallery.   Note for large galleries this may run very slowly and use a lot of system resources."
 msgstr ""
 
-#: ../setup/config_data.inc:973 ../setup/config_data.inc:1876
+#: ../setup/config_data.inc:975 ../setup/config_data.inc:1878
 msgid "These settings do not apply to the low tech slideshow."
 msgstr ""
 
-#: ../setup/config_data.inc:976
+#: ../setup/config_data.inc:978
 msgid "Slideshow preferences"
 msgstr ""
 
-#: ../setup/config_data.inc:978 ../setup/config_data.inc:986
-#: ../setup/config_data.inc:1039 ../setup/config_data.inc:1049
-#: ../setup/config_data.inc:1169 ../setup/config_data.inc:1183
-#: ../setup/config_data.inc:1197 ../setup/config_data.inc:1211
-#: ../setup/config_data.inc:1225 ../setup/config_data.inc:1239
-#: ../setup/config_data.inc:1563 ../setup/config_data.inc:1881
-#: ../setup/config_data.inc:1889
+#: ../setup/config_data.inc:980 ../setup/config_data.inc:988
+#: ../setup/config_data.inc:1041 ../setup/config_data.inc:1051
+#: ../setup/config_data.inc:1171 ../setup/config_data.inc:1185
+#: ../setup/config_data.inc:1199 ../setup/config_data.inc:1213
+#: ../setup/config_data.inc:1227 ../setup/config_data.inc:1241
+#: ../setup/config_data.inc:1565 ../setup/config_data.inc:1883
+#: ../setup/config_data.inc:1891
 msgid "Off"
 msgstr ""
 
-#: ../setup/config_data.inc:979 ../setup/config_data.inc:1882
+#: ../setup/config_data.inc:981 ../setup/config_data.inc:1884
 msgid "No slideshow link will appear."
 msgstr ""
 
-#: ../setup/config_data.inc:980 ../setup/config_data.inc:987
-#: ../setup/config_data.inc:1883 ../setup/config_data.inc:1890
+#: ../setup/config_data.inc:982 ../setup/config_data.inc:989
+#: ../setup/config_data.inc:1885 ../setup/config_data.inc:1892
 msgid "Ordered"
 msgstr ""
 
-#: ../setup/config_data.inc:981 ../setup/config_data.inc:1884
+#: ../setup/config_data.inc:983 ../setup/config_data.inc:1886
 msgid "Images will display in the same order as they appear in the Gallery."
 msgstr ""
 
-#: ../setup/config_data.inc:982 ../setup/config_data.inc:988
-#: ../setup/config_data.inc:1885 ../setup/config_data.inc:1891
+#: ../setup/config_data.inc:984 ../setup/config_data.inc:990
+#: ../setup/config_data.inc:1887 ../setup/config_data.inc:1893
 msgid "Random"
 msgstr ""
 
-#: ../setup/config_data.inc:983 ../setup/config_data.inc:1886
+#: ../setup/config_data.inc:985 ../setup/config_data.inc:1888
 msgid "Images will appear in a random order."
 msgstr ""
 
-#: ../setup/config_data.inc:993 ../setup/config_data.inc:1914
+#: ../setup/config_data.inc:995 ../setup/config_data.inc:1916
 msgid "Slideshow length"
 msgstr ""
 
-#: ../setup/config_data.inc:994 ../setup/config_data.inc:1915
+#: ../setup/config_data.inc:996 ../setup/config_data.inc:1917
 msgid "Number of images to display in slideshow.  Set to 0 or blank to display all images.  Set to a number if slideshow is random and you want to display only a selection of the images."
 msgstr ""
 
-#: ../setup/config_data.inc:1001 ../setup/config_data.inc:1905
+#: ../setup/config_data.inc:1003 ../setup/config_data.inc:1907
 msgid "Allow slideshow to loop"
 msgstr ""
 
-#: ../setup/config_data.inc:1002
+#: ../setup/config_data.inc:1004
 #, php-format
 msgid "This option will allow visitors to have your slideshows repeat until they close the window or go to another page.  Set it to %s if you want to save bandwidth."
 msgstr ""
 
-#: ../setup/config_data.inc:1010
+#: ../setup/config_data.inc:1012
 msgid "Slideshow Mode"
 msgstr ""
 
-#: ../setup/config_data.inc:1011
+#: ../setup/config_data.inc:1013
 msgid "This allows you to set the default mode for the slideshow.  &quot;Java Applet&quot; requires that the user has the Java Runtime Environment installed in their browser, but allows for fullscreen viewing. &quot;JavaScript&quot; is supported by all modern browsers without extra plugins, but is more limited than the Java Applet."
 msgstr ""
 
-#: ../setup/config_data.inc:1013
+#: ../setup/config_data.inc:1015
 msgid "Java Applet"
 msgstr ""
 
-#: ../setup/config_data.inc:1014
+#: ../setup/config_data.inc:1016
 msgid "JavaScript"
 msgstr ""
 
-#: ../setup/config_data.inc:1025
+#: ../setup/config_data.inc:1027
 msgid "Comments"
 msgstr ""
 
-#: ../setup/config_data.inc:1028
+#: ../setup/config_data.inc:1030
 msgid "Enable commenting"
 msgstr ""
 
-#: ../setup/config_data.inc:1029
+#: ../setup/config_data.inc:1031
 msgid "This option will enable or disable the possibility for your users to make comment.  If you set this to &quot;no&quot; all comment functionality is disabled."
 msgstr ""
 
-#: ../setup/config_data.inc:1037
+#: ../setup/config_data.inc:1039
 msgid "Indicate if there are comments available"
 msgstr ""
 
-#: ../setup/config_data.inc:1040
+#: ../setup/config_data.inc:1042
 msgid "No indication that an item has comments."
 msgstr ""
 
-#: ../setup/config_data.inc:1041 ../setup/config_data.inc:1050
+#: ../setup/config_data.inc:1043 ../setup/config_data.inc:1052
 msgid "Photos"
 msgstr ""
 
-#: ../setup/config_data.inc:1042
+#: ../setup/config_data.inc:1044
 msgid "Images that have comments will be marked."
 msgstr ""
 
-#: ../setup/config_data.inc:1043 ../setup/config_data.inc:1051
+#: ../setup/config_data.inc:1045 ../setup/config_data.inc:1053
 msgid "Albums"
 msgstr ""
 
-#: ../setup/config_data.inc:1044
+#: ../setup/config_data.inc:1046
 msgid "Albums and sub-albums that have comments will be marked."
 msgstr ""
 
-#: ../setup/config_data.inc:1045 ../setup/config_data.inc:1052
-#: ../setup/config_data.inc:1990
+#: ../setup/config_data.inc:1047 ../setup/config_data.inc:1054
+#: ../setup/config_data.inc:1992
 msgid "Both"
 msgstr ""
 
-#: ../setup/config_data.inc:1046
+#: ../setup/config_data.inc:1048
 msgid "Images and albums that have comments will be marked."
 msgstr ""
 
-#: ../setup/config_data.inc:1057
+#: ../setup/config_data.inc:1059
 msgid "Display date of last comment?"
 msgstr ""
 
-#: ../setup/config_data.inc:1058
+#: ../setup/config_data.inc:1060
 #, php-format
 msgid "If an item has comments, display date of last comment, rather than a %s."
 msgstr ""
 
-#: ../setup/config_data.inc:1066
+#: ../setup/config_data.inc:1068
 msgid "Anonymous comments from known users?"
 msgstr ""
 
-#: ../setup/config_data.inc:1067
+#: ../setup/config_data.inc:1069
 #, php-format
 msgid "When logged in, comments will automatically use format described below, unless this is set to %s."
 msgstr ""
 
-#: ../setup/config_data.inc:1076
+#: ../setup/config_data.inc:1078
 msgid "Format for commenter names"
 msgstr ""
 
-#: ../setup/config_data.inc:1077
+#: ../setup/config_data.inc:1079
 msgid "Commenter names of logged in users can be displayed in a variety of different ways"
 msgstr ""
 
-#: ../setup/config_data.inc:1082
+#: ../setup/config_data.inc:1084
 msgid "Add comments inside the photo page"
 msgstr ""
 
-#: ../setup/config_data.inc:1083
+#: ../setup/config_data.inc:1085
 msgid "Do you want to have the possibility to add comments inside the view photo page, or do you prefer a link to a popup"
 msgstr ""
 
-#: ../setup/config_data.inc:1085
+#: ../setup/config_data.inc:1087
 msgid "Popup"
 msgstr ""
 
-#: ../setup/config_data.inc:1086
+#: ../setup/config_data.inc:1088
 msgid "Inside"
 msgstr ""
 
-#: ../setup/config_data.inc:1091
+#: ../setup/config_data.inc:1093
 msgid "Maximum length of comments"
 msgstr ""
 
-#: ../setup/config_data.inc:1092
+#: ../setup/config_data.inc:1094
 msgid "Enter a suitable value for the maximum length of comments to prevent abuse. Gallery limits comments to no more than 1000 characters.  This value will be used if less than 1000."
 msgstr ""
 
-#: ../setup/config_data.inc:1098
+#: ../setup/config_data.inc:1100
 msgid "Can every permitted user see a comments overview"
 msgstr ""
 
-#: ../setup/config_data.inc:1099
+#: ../setup/config_data.inc:1101
 msgid "Do you want to allow every user who is allowed to view comments (set in permission) to see a complete overview of all comments of an Album? Set this to &quot;no&quot; if only admin and owners can use this feature."
 msgstr ""
 
-#: ../setup/config_data.inc:1113
+#: ../setup/config_data.inc:1115
 msgid "Watermarking"
 msgstr ""
 
-#: ../setup/config_data.inc:1115
+#: ../setup/config_data.inc:1117
 msgid "Choose wether you want to enable or disable watermarking. And set the defaults"
 msgstr ""
 
-#: ../setup/config_data.inc:1116
+#: ../setup/config_data.inc:1118
 msgid "Watermarking is not possible in this installation !"
 msgstr ""
 
-#: ../setup/config_data.inc:1119
+#: ../setup/config_data.inc:1121
 msgid "Watermark directory"
 msgstr ""
 
-#: ../setup/config_data.inc:1120
+#: ../setup/config_data.inc:1122
 #, php-format
 msgid "The full path on physical disk to the directory where your watermark images will be stored.  This directory may contain .png, .tif, and .gif images used to overlay visible watermarks on photos. These formats are supported because they may contain transparency or alpha channels.  <b>Leaving this blank will disable watermarking support.</b> Note that this directory needs to have read access by the user who is running the web server (in your case this user is %s)."
 msgstr ""
 
-#: ../setup/config_data.inc:1130
+#: ../setup/config_data.inc:1132
 msgid "Which Imagetype is watermarked"
 msgstr ""
 
-#: ../setup/config_data.inc:1131
+#: ../setup/config_data.inc:1133
 msgid "Here you can choose which of the images should be watermarked per default."
 msgstr ""
 
-#: ../setup/config_data.inc:1136
+#: ../setup/config_data.inc:1138
 msgid "Watermark both resized and full images"
 msgstr ""
 
-#: ../setup/config_data.inc:1137
+#: ../setup/config_data.inc:1139
 msgid "Watermark resized image only"
 msgstr ""
 
-#: ../setup/config_data.inc:1138
+#: ../setup/config_data.inc:1140
 msgid "Watermark full sized image only"
 msgstr ""
 
-#: ../setup/config_data.inc:1149
+#: ../setup/config_data.inc:1151
 msgid "Statistics"
 msgstr ""
 
-#: ../setup/config_data.inc:1150
+#: ../setup/config_data.inc:1152
 msgid "Caching improves performance for a large gallery at the cost of potentially displaying photos that are out of order or with out of date rating information."
 msgstr ""
 
-#: ../setup/config_data.inc:1151
+#: ../setup/config_data.inc:1153
 msgid "There's a different cache for each stats type supported with the exception of random."
 msgstr ""
 
-#: ../setup/config_data.inc:1152
+#: ../setup/config_data.inc:1154
 msgid "The caches can be refreshed by reloading the stats page and specifying the url variable 'refreshcache'."
 msgstr ""
 
-#: ../setup/config_data.inc:1153
+#: ../setup/config_data.inc:1155
 msgid "Caches will also refresh themselves after they have expired."
 msgstr ""
 
-#: ../setup/config_data.inc:1154
+#: ../setup/config_data.inc:1156
 msgid "The expire time in seconds is specified for each cache below."
 msgstr ""
 
-#: ../setup/config_data.inc:1155
+#: ../setup/config_data.inc:1157
 msgid "If the expire time is set to -1 then the cache will not auto refresh."
 msgstr ""
 
-#: ../setup/config_data.inc:1159
+#: ../setup/config_data.inc:1161
 msgid "Available Stats for 'normal' users"
 msgstr ""
 
-#: ../setup/config_data.inc:1160
+#: ../setup/config_data.inc:1162
 msgid "Gallery can give a lot of statistics for admins, however you can enable some of them to normal users."
 msgstr ""
 
-#: ../setup/config_data.inc:1161
+#: ../setup/config_data.inc:1163
 #, php-format
 msgid "For every selected item Gallery will create a link on the mainpage. The stats are based on the defaults defined in %s."
 msgstr ""
 
-#: ../setup/config_data.inc:1166
+#: ../setup/config_data.inc:1168
 msgid "View cache"
 msgstr ""
 
-#: ../setup/config_data.inc:1168 ../setup/config_data.inc:1182
-#: ../setup/config_data.inc:1196 ../setup/config_data.inc:1210
-#: ../setup/config_data.inc:1224 ../setup/config_data.inc:1238
+#: ../setup/config_data.inc:1170 ../setup/config_data.inc:1184
+#: ../setup/config_data.inc:1198 ../setup/config_data.inc:1212
+#: ../setup/config_data.inc:1226 ../setup/config_data.inc:1240
 msgid "On"
 msgstr ""
 
-#: ../setup/config_data.inc:1174
+#: ../setup/config_data.inc:1176
 msgid "View cache expiration"
 msgstr ""
 
-#: ../setup/config_data.inc:1180
+#: ../setup/config_data.inc:1182
 msgid "Comment cache"
 msgstr ""
 
-#: ../setup/config_data.inc:1188
+#: ../setup/config_data.inc:1190
 msgid "Comment cache expiration"
 msgstr ""
 
-#: ../setup/config_data.inc:1194
+#: ../setup/config_data.inc:1196
 msgid "Date cache"
 msgstr ""
 
-#: ../setup/config_data.inc:1202
+#: ../setup/config_data.inc:1204
 msgid "Date cache expiration"
 msgstr ""
 
-#: ../setup/config_data.inc:1208
+#: ../setup/config_data.inc:1210
 msgid "Vote cache"
 msgstr ""
 
-#: ../setup/config_data.inc:1216
+#: ../setup/config_data.inc:1218
 msgid "Vote cache expiration"
 msgstr ""
 
-#: ../setup/config_data.inc:1222
+#: ../setup/config_data.inc:1224
 msgid "Rating cache"
 msgstr ""
 
-#: ../setup/config_data.inc:1230
+#: ../setup/config_data.inc:1232
 msgid "Rating cache expiration"
 msgstr ""
 
-#: ../setup/config_data.inc:1236
+#: ../setup/config_data.inc:1238
 msgid "Capturedate cache"
 msgstr ""
 
-#: ../setup/config_data.inc:1244
+#: ../setup/config_data.inc:1246
 msgid "Capturedate cache expiration"
 msgstr ""
 
-#: ../setup/config_data.inc:1256
+#: ../setup/config_data.inc:1258
 msgid "Technical"
 msgstr ""
 
-#: ../setup/config_data.inc:1257
+#: ../setup/config_data.inc:1259
 msgid "The settings in this section are intended for advanced users only."
 msgstr ""
 
-#: ../setup/config_data.inc:1259
+#: ../setup/config_data.inc:1261
 msgid "Be aware that settings changed on this tab may have severe performance or security consequences and do so at your own risk."
 msgstr ""
 
-#: ../setup/config_data.inc:1263
+#: ../setup/config_data.inc:1265
 msgid "Debug Level"
 msgstr ""
 
-#: ../setup/config_data.inc:1264
+#: ../setup/config_data.inc:1266
 msgid "Turn debug on so that you can diagnose problems?"
 msgstr ""
 
-#: ../setup/config_data.inc:1264
+#: ../setup/config_data.inc:1266
 msgid "Note: Dont leave this option on in production systems! Else you might show users more information about your Gallery and system than you want!"
 msgstr ""
 
-#: ../setup/config_data.inc:1266
+#: ../setup/config_data.inc:1268
 msgid "No Debug"
 msgstr ""
 
-#: ../setup/config_data.inc:1267
+#: ../setup/config_data.inc:1269
 msgid "Normal"
 msgstr ""
 
-#: ../setup/config_data.inc:1268
+#: ../setup/config_data.inc:1270
 msgid "High (former Debug 'on')"
 msgstr ""
 
-#: ../setup/config_data.inc:1269
+#: ../setup/config_data.inc:1271
 msgid "Paranoid"
 msgstr ""
 
-#: ../setup/config_data.inc:1273
+#: ../setup/config_data.inc:1275
 msgid "Disable register_globals check"
 msgstr ""
 
-#: ../setup/config_data.inc:1274
+#: ../setup/config_data.inc:1276
 #, php-format
 msgid "<b>Be aware that changing this setting potentially decreases the security of your Gallery, and we may or may not support you if you encounter issues that don't occur when this is turned off.</b><br><br>Enabling this causes %s to ignore register_globals being turned on.  %s normally tries to unset all variables created by register_globals to help enforce security.  If a script that you run requires register_globals to be on, and will not cooperate with %s, set this to &quot;yes&quot;."
 msgstr ""
 
-#: ../setup/config_data.inc:1282
+#: ../setup/config_data.inc:1284
 msgid "Time Limit"
 msgstr ""
 
-#: ../setup/config_data.inc:1283
+#: ../setup/config_data.inc:1285
 msgid "The maximum amount of time in seconds any single operation should take.  If you find that you are getting the <b>Maximum execution time exceeded</b> error message, you can try making this a larger number.  Be warned that if you make this too large you <i>might</i> have a process that is stuck for a very long time without doing anything.  The default value is 30 which is pretty reasonable."
 msgstr ""
 
-#: ../setup/config_data.inc:1291
+#: ../setup/config_data.inc:1293
 msgid "ImageMagick high quality"
 msgstr ""
 
-#: ../setup/config_data.inc:1292
+#: ../setup/config_data.inc:1294
 msgid "If this setting is 'yes' and you use ImageMagick then resized Images will have a slightly(!) higher quality, but with the drawback of a higher load and a higher creation time."
 msgstr ""
 
-#: ../setup/config_data.inc:1300
+#: ../setup/config_data.inc:1302
 msgid "Random Block Cache Time"
 msgstr ""
 
-#: ../setup/config_data.inc:1301
+#: ../setup/config_data.inc:1303
 msgid "This is the amount of time that the Random Block will cache data about your photos and albums, speeding up requests for random photos.  The more often that your albums are modified, the lower you should set this value to ensure that new photos are chosen quickly, and to prevent attempts to retrieve photos which may have been deleted. The cache is automatically regenerated when a user views the random block after the time limit has expired."
 msgstr ""
 
-#: ../setup/config_data.inc:1304
+#: ../setup/config_data.inc:1306
 msgid "24 Hours"
 msgstr ""
 
-#: ../setup/config_data.inc:1305
+#: ../setup/config_data.inc:1307
 msgid "12 Hours"
 msgstr ""
 
-#: ../setup/config_data.inc:1306
+#: ../setup/config_data.inc:1308
 msgid "6 Hours"
 msgstr ""
 
-#: ../setup/config_data.inc:1307
+#: ../setup/config_data.inc:1309
 msgid "1 Hour"
 msgstr ""
 
-#: ../setup/config_data.inc:1308
+#: ../setup/config_data.inc:1310
 msgid "30 Minutes"
 msgstr ""
 
-#: ../setup/config_data.inc:1312
+#: ../setup/config_data.inc:1314
 msgid "Random Block Retrieval Attempts"
 msgstr ""
 
-#: ../setup/config_data.inc:1313
+#: ../setup/config_data.inc:1315
 msgid "This variable controls the number of times that the random block will attempt to retrieve an image from Gallery.  The larger the value, the less likely a 'No Photo Chosen' will be returned, but it increases the time it takes for the Random Block to load."
 msgstr ""
 
-#: ../setup/config_data.inc:1320
+#: ../setup/config_data.inc:1322
 msgid "Cache EXIF data"
 msgstr ""
 
-#: ../setup/config_data.inc:1321
+#: ../setup/config_data.inc:1323
 msgid "The EXIF data extracted from JPEG files can be cached after it is read the first time.  The tradeoff is that if you cache this data it's possible for your album data files to get quite large which may slow down viewing your albums.  But, if you don't cache this data then it needs to be retrieved every time any user looks at the properties of a photo which can also be slow."
 msgstr ""
 
-#: ../setup/config_data.inc:1330
+#: ../setup/config_data.inc:1332
 msgid "Developer Mode"
 msgstr ""
 
-#: ../setup/config_data.inc:1331
+#: ../setup/config_data.inc:1333
 msgid "Turn on developer mode to see all PHP warnings and notices.  Enabling this is not recommended for users that aren't familiar with PHP."
 msgstr ""
 
-#: ../setup/config_data.inc:1339
+#: ../setup/config_data.inc:1341
 msgid "Use Syslog"
 msgstr ""
 
-#: ../setup/config_data.inc:1340
+#: ../setup/config_data.inc:1342
 msgid "Report user login, logout, and serious errors via syslog (UNIX) or System Event Manager (Windows)"
 msgstr ""
 
-#: ../setup/config_data.inc:1348
+#: ../setup/config_data.inc:1350
 #, php-format
 msgid "Use %s"
 msgstr ""
 
-#: ../setup/config_data.inc:1349
+#: ../setup/config_data.inc:1351
 msgid "Gallery uses a locking system called flock() for added protection against data corruption.  This is not supported on all platforms.  If you're seeing errors like <i>Could not acquire lock</i> then set this value to <i>no</i>."
 msgstr ""
 
-#: ../setup/config_data.inc:1357
+#: ../setup/config_data.inc:1359
 msgid "Status code"
 msgstr ""
 
-#: ../setup/config_data.inc:1358
+#: ../setup/config_data.inc:1360
 msgid "The status code Gallery expects to see after a successful <i>exec()</i> call.  Gallery will try to figure this out on its own so you probably won't need to change this value unless you have problems."
 msgstr ""
 
-#: ../setup/config_data.inc:1364
+#: ../setup/config_data.inc:1366
 msgid "Session variable"
 msgstr ""
 
-#: ../setup/config_data.inc:1365
+#: ../setup/config_data.inc:1367
 msgid "This is the session variable used to contain all Gallery session information.  Change this if there is a conflict between Gallery and another PHP app on your website."
 msgstr ""
 
-#: ../setup/config_data.inc:1377
+#: ../setup/config_data.inc:1379
 msgid "RSS Publisher"
 msgstr ""
 
-#: ../setup/config_data.inc:1378
+#: ../setup/config_data.inc:1380
 msgid "Options for the Gallery RSS Publisher"
 msgstr ""
 
-#: ../setup/config_data.inc:1381
+#: ../setup/config_data.inc:1383
 msgid "Enable RSS Generator"
 msgstr ""
 
-#: ../setup/config_data.inc:1382
+#: ../setup/config_data.inc:1384
 msgid "Enable or Disable the Gallery RSS Generator"
 msgstr ""
 
-#: ../setup/config_data.inc:1389
+#: ../setup/config_data.inc:1391
 msgid "RSS Content"
 msgstr ""
 
-#: ../setup/config_data.inc:1390
+#: ../setup/config_data.inc:1392
 msgid "Specifies which information is to be included in your RSS feed."
 msgstr ""
 
-#: ../setup/config_data.inc:1392
+#: ../setup/config_data.inc:1394
 msgid "Basic information only"
 msgstr ""
 
-#: ../setup/config_data.inc:1393
+#: ../setup/config_data.inc:1395
 msgid "Album highlight"
 msgstr ""
 
-#: ../setup/config_data.inc:1394
+#: ../setup/config_data.inc:1396
 msgid "All image thumbnails"
 msgstr ""
 
-#: ../setup/config_data.inc:1395
+#: ../setup/config_data.inc:1397
 msgid "All image thumbnails and captions"
 msgstr ""
 
-#: ../setup/config_data.inc:1399
+#: ../setup/config_data.inc:1401
 msgid "RSS Highlight"
 msgstr ""
 
-#: ../setup/config_data.inc:1400
+#: ../setup/config_data.inc:1402
 msgid "Specify which album will be displayed as the icon for all feed entries: An empty field means that there will be no default highlight.  '*' uses the most recently update album's highlight.  Specifying an album name will use that album's highlight image."
 msgstr ""
 
-#: ../setup/config_data.inc:1406
+#: ../setup/config_data.inc:1408
 msgid "Maximum Albums Returned"
 msgstr ""
 
-#: ../setup/config_data.inc:1407
+#: ../setup/config_data.inc:1409
 msgid "This value is the maximum number of albums that the RSS feed will display to the user. Only the most recently modified albums are chosen for this value."
 msgstr ""
 
-#: ../setup/config_data.inc:1414
+#: ../setup/config_data.inc:1416
 msgid "Visible Albums Only"
 msgstr ""
 
-#: ../setup/config_data.inc:1415
+#: ../setup/config_data.inc:1417
 msgid "Specifies whether hidden albums should be included in the RSS feed.  This is not advised unless you are the only Gallery user.  Other users could become very upset if their hidden images become displayed to the public."
 msgstr ""
 
-#: ../setup/config_data.inc:1417
+#: ../setup/config_data.inc:1419
 msgid "Display Visible Albums Only"
 msgstr ""
 
-#: ../setup/config_data.inc:1418
+#: ../setup/config_data.inc:1420
 msgid "Display Hidden Albums"
 msgstr ""
 
-#: ../setup/config_data.inc:1422
+#: ../setup/config_data.inc:1424
 msgid "Use dc:date"
 msgstr ""
 
-#: ../setup/config_data.inc:1423
+#: ../setup/config_data.inc:1425
 msgid "(Advanced) If users complain about their RSS readers being unable to process the RSS Feed, try enabling this option.  Including dc:date is not RSS 2.0 compliant, but some feed readers require it anyway. Turning this on will cause your feed to not validate as RSS 2.0."
 msgstr ""
 
-#: ../setup/config_data.inc:1430
+#: ../setup/config_data.inc:1432
 msgid "Use Big Photo"
 msgstr ""
 
-#: ../setup/config_data.inc:1431
+#: ../setup/config_data.inc:1433
 msgid "(Advanced) If users complain about their RSS readers corrupting the channel thumbnail, you can turn this feature on.  Turning this on will cause your feed to not validate as valid RSS 2.0."
 msgstr ""
 
-#: ../setup/config_data.inc:1438
+#: ../setup/config_data.inc:1440
 msgid "Use Photo Tag"
 msgstr ""
 
-#: ../setup/config_data.inc:1439
+#: ../setup/config_data.inc:1441
 msgid "(Advanced) Turning this off will cause two RSS extensions which allow for images representing items to be removed from the feed.  Leaving this enabled should cause no problems - disabling it is a personal preference."
 msgstr ""
 
-#: ../setup/config_data.inc:1466
+#: ../setup/config_data.inc:1468
 msgid "Layout"
 msgstr ""
 
-#: ../setup/config_data.inc:1469
+#: ../setup/config_data.inc:1471
 msgid "Default Columns"
 msgstr ""
 
-#: ../setup/config_data.inc:1470
+#: ../setup/config_data.inc:1472
 msgid "The default number of columns in an album."
 msgstr ""
 
-#: ../setup/config_data.inc:1475
+#: ../setup/config_data.inc:1477
 msgid "Default Rows"
 msgstr ""
 
-#: ../setup/config_data.inc:1476
+#: ../setup/config_data.inc:1478
 msgid "The default number of rows in an album."
 msgstr ""
 
-#: ../setup/config_data.inc:1487
+#: ../setup/config_data.inc:1489
 msgid "Appearance"
 msgstr ""
 
-#: ../setup/config_data.inc:1490
+#: ../setup/config_data.inc:1492
 msgid "Border color"
 msgstr ""
 
-#: ../setup/config_data.inc:1491
+#: ../setup/config_data.inc:1493
 #, php-format
 msgid "Default color of (image) borders. You can learn about %scolors%s here."
 msgstr ""
 
-#: ../setup/config_data.inc:1497
+#: ../setup/config_data.inc:1499
 msgid "Border width"
 msgstr ""
 
-#: ../setup/config_data.inc:1498
+#: ../setup/config_data.inc:1500
 msgid "Default width of (image) borders."
 msgstr ""
 
-#: ../setup/config_data.inc:1503
+#: ../setup/config_data.inc:1505
 msgid "Default Font"
 msgstr ""
 
-#: ../setup/config_data.inc:1504
+#: ../setup/config_data.inc:1506
 msgid "Default font face.  E.g. <i>arial</i> or <i>trebuchet</i>"
 msgstr ""
 
-#: ../setup/config_data.inc:1516
+#: ../setup/config_data.inc:1518
 msgid "Image Processing and Display"
 msgstr ""
 
-#: ../setup/config_data.inc:1519
+#: ../setup/config_data.inc:1521
 msgid "Thumbnail size"
 msgstr ""
 
-#: ../setup/config_data.inc:1520
+#: ../setup/config_data.inc:1522
 msgid "The default target size (in pixels) of album thumbnails."
 msgstr ""
 
-#: ../setup/config_data.inc:1526
+#: ../setup/config_data.inc:1528
 msgid "Thumbnail Ratio"
 msgstr ""
 
-#: ../setup/config_data.inc:1527
+#: ../setup/config_data.inc:1529
 msgid "The ratio in which the thumbnails are made"
 msgstr ""
 
-#: ../setup/config_data.inc:1530
+#: ../setup/config_data.inc:1532
 msgid "Square thumbs"
 msgstr ""
 
-#: ../setup/config_data.inc:1535
+#: ../setup/config_data.inc:1537
 msgid "Resized image size"
 msgstr ""
 
-#: ../setup/config_data.inc:1536
+#: ../setup/config_data.inc:1538
 msgid "When large images are added to an album, an intermediate version will automatically be generated at this size."
 msgstr ""
 
-#: ../setup/config_data.inc:1539
+#: ../setup/config_data.inc:1541
 msgid "off"
 msgstr ""
 
-#: ../setup/config_data.inc:1550
+#: ../setup/config_data.inc:1552
 msgid "Resized JPEG/PNG images file size"
 msgstr ""
 
-#: ../setup/config_data.inc:1551
+#: ../setup/config_data.inc:1553
 msgid "The default target size (in kilobytes) of resized JPEG/PNG images.  Including a value may slow down file uploads, but will speed up page viewing time especially for people with dialup connections.  Set to 0 for no target size."
 msgstr ""
 
-#: ../setup/config_data.inc:1557
+#: ../setup/config_data.inc:1559
 msgid "Maximum image size"
 msgstr ""
 
-#: ../setup/config_data.inc:1558
+#: ../setup/config_data.inc:1560
 msgid "You can optionally limit the dimensions your images on upload to Gallery."
 msgstr ""
 
-#: ../setup/config_data.inc:1559 ../setup/config_data.inc:1578
+#: ../setup/config_data.inc:1561 ../setup/config_data.inc:1580
 msgid "Warning:"
 msgstr ""
 
-#: ../setup/config_data.inc:1560
+#: ../setup/config_data.inc:1562
 msgid "Enabling this feature will leave you <b>without a full size original</b> image in your Gallery, but allows you to save limited hard drive space. Gallery will attempt to preserve JPEG comments and EXIF data for the shrunken image, but this will require either <b>ImageMagick</b> or the optional <b>jhead</b> programs (see Step 2)."
 msgstr ""
 
-#: ../setup/config_data.inc:1571 ../setup/config_data.inc:1572
-#: ../setup/config_data.inc:1573
+#: ../setup/config_data.inc:1573 ../setup/config_data.inc:1574
+#: ../setup/config_data.inc:1575
 #, php-format
 msgid "%d (%d MPix)"
 msgstr ""
 
-#: ../setup/config_data.inc:1576
+#: ../setup/config_data.inc:1578
 msgid "Maximum JPEG/PNG image file size"
 msgstr ""
 
-#: ../setup/config_data.inc:1577
+#: ../setup/config_data.inc:1579
 msgid "You can optionally limit the filesize of your JPEG/PNG images on upload to Gallery."
 msgstr ""
 
-#: ../setup/config_data.inc:1579
+#: ../setup/config_data.inc:1581
 msgid "Enabling this feature will leave you <b>without an original quality image</b> in your Gallery. Set the default target filesize (in kilobytes).  Including a value may slow down file uploads, but will speed up page viewing time especially for people with dialup connections. Set to 0 if you don't want to restrict filesize."
 msgstr ""
 
-#: ../setup/config_data.inc:1585
+#: ../setup/config_data.inc:1587
 msgid "Preserve Names"
 msgstr ""
 
-#: ../setup/config_data.inc:1586
+#: ../setup/config_data.inc:1588
 msgid "When uploading images to Gallery, should we preserve the original names?  If you select <i>no</i>, Gallery will assign a new name for each photo or movie that gets uploaded."
 msgstr ""
 
-#: ../setup/config_data.inc:1594
+#: ../setup/config_data.inc:1596
 msgid "Add to beginning"
 msgstr ""
 
-#: ../setup/config_data.inc:1595
+#: ../setup/config_data.inc:1597
 msgid "New images added to beginning rather than end of albums."
 msgstr ""
 
-#: ../setup/config_data.inc:1603
+#: ../setup/config_data.inc:1605
 msgid "Fit-to-window"
 msgstr ""
 
-#: ../setup/config_data.inc:1604
+#: ../setup/config_data.inc:1606
 msgid "When viewing photos which don't have an intermediate version, Gallery can automatically resize the image to fit the viewer's browser window (using JavaScript).  This may not work in embedded environments such as Nuke."
 msgstr ""
 
-#: ../setup/config_data.inc:1612
+#: ../setup/config_data.inc:1614
 msgid "Visitor size prefs"
 msgstr ""
 
-#: ../setup/config_data.inc:1613
+#: ../setup/config_data.inc:1615
 msgid "Offer visitors the choice of always viewing the full sized version of an image instead of the intermediate size.  This setting only lasts for the visitor's session."
 msgstr ""
 
-#: ../setup/config_data.inc:1626
+#: ../setup/config_data.inc:1628
 msgid "Options"
 msgstr ""
 
-#: ../setup/config_data.inc:1631
+#: ../setup/config_data.inc:1633
 msgid "Printing Services"
 msgstr ""
 
-#: ../setup/config_data.inc:1632
+#: ../setup/config_data.inc:1634
 msgid "Allow visitors to print photos directly from the album.  Fotoserve is based in the United Kindom and Fotokasten is a print service based in Germany so they are good for the European market. EZ Prints, PhotoWorks and Shutterfly are based in the United States. mPUSH is a service that allows you to send photos to cellular phones worldwide. All services will give a small donation to the Gallery project for every print you make. Using these services is a great way for you to help support this free software."
 msgstr ""
 
-#: ../setup/config_data.inc:1655
+#: ../setup/config_data.inc:1657
 msgid "Account for the mPUSH service"
 msgstr ""
 
-#: ../setup/config_data.inc:1656
+#: ../setup/config_data.inc:1658
 #, php-format
 msgid "If you want to use mPUSH cellular photo service you can either use your own account, or leave this to 'gallery'. Visit this link to %screate your own account%s."
 msgstr ""
 
-#: ../setup/config_data.inc:1662
+#: ../setup/config_data.inc:1664
 msgid "Enable Ecards ?"
 msgstr ""
 
-#: ../setup/config_data.inc:1663
+#: ../setup/config_data.inc:1665
 msgid "Set this to 'yes' to allow users to send a picure as eCard via eMail"
 msgstr ""
 
-#: ../setup/config_data.inc:1672
+#: ../setup/config_data.inc:1674
 msgid "Gallery Link"
 msgstr ""
 
-#: ../setup/config_data.inc:1673
+#: ../setup/config_data.inc:1675
 msgid "Display a link navigation from your album to the top level Gallery link within the album?  If you turn this feature off, the user will not be able to navigate out of the album.  This is only useful when you want to embed an album within a website and not allow users to (easily) view the other albums in the gallery."
 msgstr ""
 
-#: ../setup/config_data.inc:1681
+#: ../setup/config_data.inc:1683
 msgid "Default Album Permissions"
 msgstr ""
 
-#: ../setup/config_data.inc:1682
+#: ../setup/config_data.inc:1684
 msgid "Defines the default set of permissions for an album.  Specifically, who can see the album, and view its photos."
 msgstr ""
 
-#: ../setup/config_data.inc:1684 ../setup/config_data.inc:1787
-#: ../setup/config_data.inc:1794
+#: ../setup/config_data.inc:1686 ../setup/config_data.inc:1789
+#: ../setup/config_data.inc:1796
 msgid "Everybody"
 msgstr ""
 
-#: ../setup/config_data.inc:1685
+#: ../setup/config_data.inc:1687
 msgid "Logged-In Users"
 msgstr ""
 
-#: ../setup/config_data.inc:1686 ../setup/config_data.inc:1785
-#: ../setup/config_data.inc:1793
+#: ../setup/config_data.inc:1688 ../setup/config_data.inc:1787
+#: ../setup/config_data.inc:1795
 msgid "Nobody"
 msgstr ""
 
-#: ../setup/config_data.inc:1697
+#: ../setup/config_data.inc:1699
 msgid "Data displayed"
 msgstr ""
 
-#: ../setup/config_data.inc:1700
+#: ../setup/config_data.inc:1702
 msgid "Click counts"
 msgstr ""
 
-#: ../setup/config_data.inc:1701
+#: ../setup/config_data.inc:1703
 msgid "Display click counts within Albums?"
 msgstr ""
 
-#: ../setup/config_data.inc:1709
+#: ../setup/config_data.inc:1711
 msgid "Custom Fields"
 msgstr ""
 
-#: ../setup/config_data.inc:1711
+#: ../setup/config_data.inc:1713
 msgid "Custom fields that are available to describe each image.  They should be separated by commas.  E.g. <i>Description, Location, Film Type</i>"
 msgstr ""
 
-#: ../setup/config_data.inc:1717
+#: ../setup/config_data.inc:1719
 msgid "Display clickable image dimensions"
 msgstr ""
 
-#: ../setup/config_data.inc:1718
+#: ../setup/config_data.inc:1720
 msgid "Display clickable image dimensions beneath the thumbnails.  Will show dimensions for resized images (if any) first, then for the full image, depending on album settings user permissions.  You may click on these instead of the thumbnail to either image."
 msgstr ""
 
-#: ../setup/config_data.inc:1732
+#: ../setup/config_data.inc:1734
 msgid "Item Owner"
 msgstr ""
 
-#: ../setup/config_data.inc:1735
+#: ../setup/config_data.inc:1737
 msgid "Photo owner modification"
 msgstr ""
 
-#: ../setup/config_data.inc:1736
+#: ../setup/config_data.inc:1738
 msgid "Allow photo owners to edit and rotate/flip their own photos?"
 msgstr ""
 
-#: ../setup/config_data.inc:1744
+#: ../setup/config_data.inc:1746
 msgid "Photo owner deletion"
 msgstr ""
 
-#: ../setup/config_data.inc:1745
+#: ../setup/config_data.inc:1747
 msgid "Allow photo owners to delete their own photos?"
 msgstr ""
 
-#: ../setup/config_data.inc:1752
+#: ../setup/config_data.inc:1754
 msgid "Photo owner display"
 msgstr ""
 
-#: ../setup/config_data.inc:1753
+#: ../setup/config_data.inc:1755
 msgid "Display the name of photo owners with the caption?"
 msgstr ""
 
-#: ../setup/config_data.inc:1767
+#: ../setup/config_data.inc:1769
 msgid "Polling configuration"
 msgstr ""
 
-#: ../setup/config_data.inc:1769
+#: ../setup/config_data.inc:1771
 #, php-format
 msgid "It allows your visitors to vote for or rate the contents of an album.  You set defaults for polling here, which will apply to new albums, and to all existing albums when you upgraded from an earlier version then %s."
 msgstr ""
 
-#: ../setup/config_data.inc:1772
+#: ../setup/config_data.inc:1774
 msgid "In each album, voting can be switched off, restricted to logged in users or open to all visitors."
 msgstr ""
 
-#: ../setup/config_data.inc:1774
+#: ../setup/config_data.inc:1776
 #, php-format
 msgid "There are two sorts of polls: %s, which allows voters to chose their favourites as first, second, third etc., and %s, which allows voters to rate any or all of the images without restriction.  %s is like a film review where all the images can get (for example) 5 points, while %s is useful in scoring competitions."
 msgstr ""
 
-#: ../setup/config_data.inc:1775 ../setup/config_data.inc:1778
-#: ../setup/config_data.inc:1803 ../setup/config_data.inc:1809
+#: ../setup/config_data.inc:1777 ../setup/config_data.inc:1780
+#: ../setup/config_data.inc:1805 ../setup/config_data.inc:1811
 msgid "Rank"
 msgstr ""
 
-#: ../setup/config_data.inc:1776 ../setup/config_data.inc:1777
-#: ../setup/config_data.inc:1805 ../setup/config_data.inc:1810
+#: ../setup/config_data.inc:1778 ../setup/config_data.inc:1779
+#: ../setup/config_data.inc:1807 ../setup/config_data.inc:1812
 msgid "Critique"
 msgstr ""
 
-#: ../setup/config_data.inc:1782
+#: ../setup/config_data.inc:1784
 msgid "Voter class"
 msgstr ""
 
-#: ../setup/config_data.inc:1783
+#: ../setup/config_data.inc:1785
 msgid "Voting is available to:"
 msgstr ""
 
-#: ../setup/config_data.inc:1786
+#: ../setup/config_data.inc:1788
 msgid "Voting is off."
 msgstr ""
 
-#: ../setup/config_data.inc:1788
+#: ../setup/config_data.inc:1790
 msgid "Anyone can vote.  Votes are recorded against session ID."
 msgstr ""
 
-#: ../setup/config_data.inc:1789 ../setup/config_data.inc:1795
+#: ../setup/config_data.inc:1791 ../setup/config_data.inc:1797
 msgid "Logged in"
 msgstr ""
 
-#: ../setup/config_data.inc:1790
+#: ../setup/config_data.inc:1792
 msgid "Registered users can vote.  Votes are recorded against User ID, and voters can come back and change their choices."
 msgstr ""
 
-#: ../setup/config_data.inc:1800
+#: ../setup/config_data.inc:1802
 msgid "Poll type"
 msgstr ""
 
-#: ../setup/config_data.inc:1801
+#: ../setup/config_data.inc:1803
 msgid "Gallery offers two sorts of polls for voting for images.  See above for a more detailed explanation."
 msgstr ""
 
-#: ../setup/config_data.inc:1804
+#: ../setup/config_data.inc:1806
 msgid "Users have a set of votes which they can allocate to the images."
 msgstr ""
 
-#: ../setup/config_data.inc:1806
+#: ../setup/config_data.inc:1808
 msgid "Enables users to give all images points without restriction."
 msgstr ""
 
-#: ../setup/config_data.inc:1815
+#: ../setup/config_data.inc:1817
 msgid "Number of choices"
 msgstr ""
 
-#: ../setup/config_data.inc:1816
+#: ../setup/config_data.inc:1818
 msgid "Number of choices that will be available to voters as radio buttons or in a pulldown menu."
 msgstr ""
 
-#: ../setup/config_data.inc:1821
+#: ../setup/config_data.inc:1823
 msgid "Vote hint"
 msgstr ""
 
-#: ../setup/config_data.inc:1822
+#: ../setup/config_data.inc:1824
 msgid "This is displayed above the voting options under each image."
 msgstr ""
 
-#: ../setup/config_data.inc:1824
+#: ../setup/config_data.inc:1826
 msgid "Vote for this image"
 msgstr ""
 
-#: ../setup/config_data.inc:1829 ../setup/config_data.inc:1841
+#: ../setup/config_data.inc:1831 ../setup/config_data.inc:1843
 msgid "Show vote results"
 msgstr ""
 
-#: ../setup/config_data.inc:1830
+#: ../setup/config_data.inc:1832
 #, php-format
 msgid "Display a summary and graph on the album page of images that have received the highest votes, and provide a link to the full results.  If this option is %s, results of voting will only be available to admins and album owners."
 msgstr ""
 
-#: ../setup/config_data.inc:1839
+#: ../setup/config_data.inc:1841
 msgid "Number of results displayed"
 msgstr ""
 
-#: ../setup/config_data.inc:1840
+#: ../setup/config_data.inc:1842
 #, php-format
 msgid "If %s is %s, display a graph showing this many top results.  (Full results will be available on a linked page.)"
 msgstr ""
 
-#: ../setup/config_data.inc:1847
+#: ../setup/config_data.inc:1849
 msgid "Orientation of vote choices?"
 msgstr ""
 
-#: ../setup/config_data.inc:1848
+#: ../setup/config_data.inc:1850
 msgid "Rank poll choices can be displayed beside each other (horizontally) or underneath each other (vertically).  Has no effect on critique voting which is a pulldown menu."
 msgstr ""
 
-#: ../setup/config_data.inc:1851
+#: ../setup/config_data.inc:1853
 msgid "Horizontal"
 msgstr ""
 
-#: ../setup/config_data.inc:1852
+#: ../setup/config_data.inc:1854
 msgid "Vertical"
 msgstr ""
 
-#: ../setup/config_data.inc:1856
+#: ../setup/config_data.inc:1858
 msgid "This allows you to configure the actual text that will be displayed for each voting option, plus the number of points that option is worth."
 msgstr ""
 
-#: ../setup/config_data.inc:1858
+#: ../setup/config_data.inc:1860
 msgid "Excellent"
 msgstr ""
 
-#: ../setup/config_data.inc:1859
+#: ../setup/config_data.inc:1861
 msgid "Very Good"
 msgstr ""
 
-#: ../setup/config_data.inc:1860
+#: ../setup/config_data.inc:1862
 msgid "Good"
 msgstr ""
 
-#: ../setup/config_data.inc:1861
+#: ../setup/config_data.inc:1863
 msgid "Average"
 msgstr ""
 
-#: ../setup/config_data.inc:1862
+#: ../setup/config_data.inc:1864
 msgid "Poor"
 msgstr ""
 
-#: ../setup/config_data.inc:1875
+#: ../setup/config_data.inc:1877
 msgid "Album Slideshow"
 msgstr ""
 
-#: ../setup/config_data.inc:1879
+#: ../setup/config_data.inc:1881
 msgid "Slideshow Type"
 msgstr ""
 
-#: ../setup/config_data.inc:1896
+#: ../setup/config_data.inc:1898
 msgid "Recursive slideshow"
 msgstr ""
 
-#: ../setup/config_data.inc:1897
+#: ../setup/config_data.inc:1899
 #, php-format
 msgid "Set to %s if you want to include images in sub albums as part of the slideshow."
 msgstr ""
 
-#: ../setup/config_data.inc:1906
+#: ../setup/config_data.inc:1908
 #, php-format
 msgid "This option will allow visitors to have your slideshow repeat until they close the window or go to another page.  Set it to %s if you want to save bandwidth."
 msgstr ""
 
-#: ../setup/config_data.inc:1928 ../setup/config_data.inc:1932
-#: ../setup/config_data.inc:1942
+#: ../setup/config_data.inc:1930 ../setup/config_data.inc:1934
+#: ../setup/config_data.inc:1944
 msgid "Microthumb Photo Navigation"
 msgstr ""
 
-#: ../setup/config_data.inc:1929
+#: ../setup/config_data.inc:1931
 msgid "These settings apply to the microthumb photo navigation system.  The microthumbs are only visible when viewing individual images."
 msgstr ""
 
-#: ../setup/config_data.inc:1933
+#: ../setup/config_data.inc:1935
 msgid "Uses microthumbs for photo navigation. This creates a navigation panel with tiny thumbnails of the images around the photo you are viewing.  You can also choose both to display the microthumb navigation system AND the old style navigation system."
 msgstr ""
 
-#: ../setup/config_data.inc:1938
+#: ../setup/config_data.inc:1940
 msgid "both"
 msgstr ""
 
-#: ../setup/config_data.inc:1944 ../setup/config_data.inc:1951
+#: ../setup/config_data.inc:1946 ../setup/config_data.inc:1953
 msgid "Fixed"
 msgstr ""
 
-#: ../setup/config_data.inc:1945
+#: ../setup/config_data.inc:1947
 msgid "Displays prev+next groups of thumbs, changing only to display next group of thumbs."
 msgstr ""
 
-#: ../setup/config_data.inc:1946 ../setup/config_data.inc:1952
+#: ../setup/config_data.inc:1948 ../setup/config_data.inc:1954
 msgid "Dynamic"
 msgstr ""
 
-#: ../setup/config_data.inc:1947
+#: ../setup/config_data.inc:1949
 msgid "Displays previous & next images, with current image between."
 msgstr ""
 
-#: ../setup/config_data.inc:1956
+#: ../setup/config_data.inc:1958
 msgid "Show Microthumb for First/Last"
 msgstr ""
 
-#: ../setup/config_data.inc:1957
+#: ../setup/config_data.inc:1959
 msgid "This allows you to turn on and off the display of the first and last microthumb.  Since these two images are always the same, some might find that it is not very useful and would rather display more next/previous thumbs."
 msgstr ""
 
-#: ../setup/config_data.inc:1965
+#: ../setup/config_data.inc:1967
 msgid "Number of Previous Microthumbs"
 msgstr ""
 
-#: ../setup/config_data.inc:1966
+#: ../setup/config_data.inc:1968
 msgid "This is the number of previous microthumbs on the screen at a time.  You might prefer to show fewer previous microthumbs and more next microthumbs."
 msgstr ""
 
-#: ../setup/config_data.inc:1975
+#: ../setup/config_data.inc:1977
 msgid "Number of Next Microthumbs"
 msgstr ""
 
-#: ../setup/config_data.inc:1976
+#: ../setup/config_data.inc:1978
 msgid "This is the number of next microthumbs on the screen at a time.  You might prefer to show fewer previous microthumbs and more next microthumbs."
 msgstr ""
 
-#: ../setup/config_data.inc:1985
+#: ../setup/config_data.inc:1987
 msgid "Location of Microthumb Navigation"
 msgstr ""
 
-#: ../setup/config_data.inc:1986
+#: ../setup/config_data.inc:1988
 msgid "Displays the microthumb navigation bar at the Top, Bottom or Both of the photo viewing page.  Since the microthumb navigation system is larger than the original navigation system, you may want to display it at only the top or bottom to conserve space usage."
 msgstr ""
 
-#: ../setup/config_data.inc:1989
+#: ../setup/config_data.inc:1991
 msgid "Top"
 msgstr ""
 
-#: ../setup/config_data.inc:1991
+#: ../setup/config_data.inc:1993
 msgid "Bottom"
 msgstr ""
 
-#: ../setup/config_data.inc:1995
+#: ../setup/config_data.inc:1997
 msgid "Height of Microthumbs"
 msgstr ""
 
-#: ../setup/config_data.inc:1996
+#: ../setup/config_data.inc:1998
 msgid "The size of microthumbs will determine how clear the images are as well as how much room they take up.  This value is the height and is in pixels.  45 is a reasonable value for viewing at 1024x768."
 msgstr ""
 
-#: ../setup/config_data.inc:2001
+#: ../setup/config_data.inc:2003
 msgid "Bonus to Current Microthumb's Size"
 msgstr ""
 
-#: ../setup/config_data.inc:2002
+#: ../setup/config_data.inc:2004
 msgid "This is the bonus in pixels to the size of the current microthumb.  This creates a nice look and a value of 10-15 is reasonable.  Zero (0) and negative numbers (-10) are also valid here.  Zero (0) will result in the current thumb being of identical size to all the other microthumbs and a negative value will result in a smaller microthumb."
 msgstr ""
 
-#: ../setup/config_data.inc:2013 ../setup/frame_test.php:29
+#: ../setup/config_data.inc:2015 ../setup/frame_test.php:29
 msgid "Frames"
 msgstr ""
 
-#: ../setup/config_data.inc:2014
+#: ../setup/config_data.inc:2016
 #, php-format
 msgid "Each image (thumbnails, resized and full sized) in %s can have a frame.  The following styles available:"
 msgstr ""
 
-#: ../setup/config_data.inc:2018
+#: ../setup/config_data.inc:2020
 msgid "Subalbum frames"
 msgstr ""
 
-#: ../setup/config_data.inc:2019
+#: ../setup/config_data.inc:2021
 msgid "This frame will appear around the thumbnail image representing a subalbum."
 msgstr ""
 
-#: ../setup/config_data.inc:2024
+#: ../setup/config_data.inc:2026
 msgid "Frame around thumbs"
 msgstr ""
 
-#: ../setup/config_data.inc:2025
+#: ../setup/config_data.inc:2027
 msgid "This frame will appear around the thumbnail image representing a photo or movie."
 msgstr ""
 
-#: ../setup/config_data.inc:2030
+#: ../setup/config_data.inc:2032
 msgid "Frame around images"
 msgstr ""
 
-#: ../setup/config_data.inc:2031
+#: ../setup/config_data.inc:2033
 msgid "This frame will appear around fulled sized and resized photos."
 msgstr ""
 
@@ -3103,16 +3107,16 @@
 msgstr ""
 
 #: ../setup/confirm.inc:476
+msgid "No errors."
+msgstr ""
+
+#: ../setup/confirm.inc:476
 #, php-format
 msgid "One error."
 msgid_plural "%d errors."
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../setup/confirm.inc:476
-msgid "No errors."
-msgstr ""
-
 #: ../setup/confirm.inc:478
 msgid "See Details below."
 msgstr ""
@@ -3133,23 +3137,23 @@
 msgid "Switch through the corresponding tab and fill the values you need. Some, but not all values are required. If you have finished this step use the button to go to the next Step."
 msgstr ""
 
-#: ../setup/constants.inc:41 ../setup/constants.inc:185
-#: ../setup/defaults.inc:43 ../setup/defaults.inc:130
+#: ../setup/constants.inc:41 ../setup/constants.inc:186
+#: ../setup/defaults.inc:43 ../setup/defaults.inc:131
 msgid "Previous Step"
 msgstr ""
 
-#: ../setup/constants.inc:42 ../setup/constants.inc:186
-#: ../setup/defaults.inc:44 ../setup/defaults.inc:131
+#: ../setup/constants.inc:42 ../setup/constants.inc:187
+#: ../setup/defaults.inc:44 ../setup/defaults.inc:132
 msgid "Previous Tab"
 msgstr ""
 
-#: ../setup/constants.inc:43 ../setup/constants.inc:187
-#: ../setup/defaults.inc:45 ../setup/defaults.inc:132
+#: ../setup/constants.inc:43 ../setup/constants.inc:188
+#: ../setup/defaults.inc:45 ../setup/defaults.inc:133
 msgid "Next Tab"
 msgstr ""
 
-#: ../setup/constants.inc:45 ../setup/constants.inc:189
-#: ../setup/defaults.inc:47 ../setup/defaults.inc:134
+#: ../setup/constants.inc:45 ../setup/constants.inc:190
+#: ../setup/defaults.inc:47 ../setup/defaults.inc:135
 msgid "Use Defaults"
 msgstr ""
 
diff -Naur gallery-1.5.4/po/gallery-core.pot gallery-1.5.5/po/gallery-core.pot
--- gallery-1.5.4/po/gallery-core.pot	2006-08-14 10:05:15.000000000 +0200
+++ gallery-1.5.5/po/gallery-core.pot	2006-11-12 14:09:59.000000000 +0100
@@ -16,7 +16,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 #
-# $Id: gallery-core.pot 14313 2006-08-14 08:05:15Z jenst $
+# $Id: gallery-core.pot 15167 2006-11-12 13:09:59Z jenst $
 #
 # @version	<Version>
 # @package      Languagepack
@@ -27,7 +27,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: gallery-translations@lists.sourceforge.net\n"
-"POT-Creation-Date: 2006-08-14 10:04+0200\n"
+"POT-Creation-Date: 2006-11-12 14:09+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -50,16 +50,16 @@
 msgid "You are not allowed to perform this action!"
 msgstr ""
 
-#: ../add_comment.php:56 ../view_photo.php:193
+#: ../add_comment.php:56 ../view_photo.php:195
 msgid "Name and comment are both required to save a new comment!"
 msgstr ""
 
-#: ../add_comment.php:58 ../view_photo.php:195
+#: ../add_comment.php:58 ../view_photo.php:197
 #, php-format
 msgid "Your comment is too long, the admin set maximum length to %d chars"
 msgstr ""
 
-#: ../add_comment.php:60 ../view_photo.php:197
+#: ../add_comment.php:60 ../view_photo.php:199
 msgid "Your Comment contains forbidden words. It will not be added."
 msgstr ""
 
@@ -73,11 +73,11 @@
 
 #: ../add_comment.php:99 ../copy_photo.php:214 ../delete_album.php:72
 #: ../delete_photo.php:145 ../delete_user.php:85 ../download.php:84
-#: ../ecard_form.php:259 ../edit_caption.php:184 ../edit_watermark.php:121
+#: ../ecard_form.php:276 ../edit_caption.php:184 ../edit_watermark.php:121
 #: ../includes/add_photos/add_form.inc:90
 #: ../includes/add_photos/add_url.inc:55 ../login.php:96 ../move_album.php:117
 #: ../move_album.php:134 ../move_photo.php:264 ../move_photo.php:352
-#: ../new_password.php:138 ../register.php:142 ../rename_album.php:131
+#: ../new_password.php:138 ../register.php:144 ../rename_album.php:131
 #: ../reset_votes.php:64 ../resize_photo.php:140 ../sort_album.php:121
 #: ../watermark_album.php:153
 msgid "Cancel"
@@ -171,11 +171,11 @@
 msgstr ""
 
 #: ../administer_startpage.php:40
-msgid "Recreate all highlights according to the setting in configwizard.<br>(Starts immediately)"
+msgid "Recreate all highlights according to the setting in Config Wizard.<br>(Starts immediately)"
 msgstr ""
 
 #: ../administer_startpage.php:44
-msgid "Albumorder"
+msgid "Album Order"
 msgstr ""
 
 #: ../administer_startpage.php:46
@@ -191,7 +191,7 @@
 msgstr ""
 
 #: ../administer_startpage.php:54
-msgid "By creation date (works only with albums created with 1.5.2-cvs-b28 or newer)"
+msgid "By creation date (works only with albums created with 1.5.2 or newer)"
 msgstr ""
 
 #: ../administer_startpage.php:58
@@ -294,241 +294,241 @@
 msgid "Done"
 msgstr ""
 
-#: ../albums.php:110 ../view_album.php:130
+#: ../albums.php:119 ../view_album.php:141
 #, php-format
 msgid "%s RSS"
 msgstr ""
 
-#: ../albums.php:148
+#: ../albums.php:157
+msgid "no albums"
+msgstr ""
+
+#: ../albums.php:157
 #, php-format
 msgid "1 album"
 msgid_plural "%d albums"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../albums.php:148
-msgid "no albums"
+#: ../albums.php:159
+msgid "No top-level albums"
 msgstr ""
 
-#: ../albums.php:150
+#: ../albums.php:159
 #, php-format
 msgid "1 top-level album"
 msgid_plural "%d top-level albums"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../albums.php:150
-msgid "No top-level albums"
-msgstr ""
-
-#: ../albums.php:153
+#: ../albums.php:162
 #, php-format
 msgid "%d total"
 msgstr ""
 
-#: ../albums.php:154 ../view_album.php:215
+#: ../albums.php:163 ../view_album.php:236
+msgid "no images"
+msgstr ""
+
+#: ../albums.php:163 ../view_album.php:236
 #, php-format
 msgid "1 image"
 msgid_plural "%d images"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../albums.php:154 ../view_album.php:215
-msgid "no images"
+#: ../albums.php:164
+msgid "no pages"
 msgstr ""
 
-#: ../albums.php:155 ../view_album.php:216
+#: ../albums.php:164 ../view_album.php:237
 #, php-format
 msgid "1 page"
 msgid_plural "%d pages"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../albums.php:155
-msgid "no pages"
-msgstr ""
-
-#: ../albums.php:158
+#: ../albums.php:167
 #, php-format
 msgid "%s (%s), %s on %s"
 msgstr ""
 
-#: ../albums.php:161
+#: ../albums.php:170
 #, php-format
 msgid "%s (%s), %s"
 msgstr ""
 
-#: ../albums.php:163
+#: ../albums.php:172
 #, php-format
 msgid "%s, %s on %s"
 msgstr ""
 
-#: ../albums.php:165
+#: ../albums.php:174
 #, php-format
 msgid "%s, %s"
 msgstr ""
 
-#: ../albums.php:180
+#: ../albums.php:189
 #, php-format
 msgid "Welcome, %s"
 msgstr ""
 
-#: ../albums.php:184 ../view_album.php:405
+#: ../albums.php:193 ../view_album.php:429
 msgid "slideshow"
 msgstr ""
 
-#: ../albums.php:189
+#: ../albums.php:198
 msgid "new album"
 msgstr ""
 
-#: ../albums.php:196
+#: ../albums.php:205
 msgid "Administer startpage"
 msgstr ""
 
-#: ../albums.php:200
+#: ../albums.php:209
 msgid "admin page"
 msgstr ""
 
-#: ../albums.php:205
+#: ../albums.php:214
 msgid "documentation"
 msgstr ""
 
-#: ../albums.php:211
+#: ../albums.php:220
 msgid "preferences"
 msgstr ""
 
-#: ../albums.php:216 ../imagemap.php:139 ../view_album.php:423
-#: ../view_photo.php:519
+#: ../albums.php:225 ../imagemap.php:139 ../view_album.php:447
+#: ../view_photo.php:538
 msgid "logout"
 msgstr ""
 
-#: ../albums.php:221 ../imagemap.php:144 ../view_album.php:428
-#: ../view_photo.php:524
+#: ../albums.php:230 ../imagemap.php:144 ../view_album.php:452
+#: ../view_photo.php:543
 msgid "login"
 msgstr ""
 
-#: ../albums.php:225
+#: ../albums.php:234
 msgid "register"
 msgstr ""
 
-#: ../albums.php:251
+#: ../albums.php:260
 msgid "Attention Gallery Administrator!"
 msgstr ""
 
-#: ../albums.php:254
+#: ../albums.php:263
 #, php-format
 msgid "%s has detected the following %d invalid album(s) in your albums directory<br>(%s):"
 msgstr ""
 
-#: ../albums.php:260
+#: ../albums.php:269
 msgid "Please move it/them out of the albums directory."
 msgstr ""
 
-#: ../albums.php:264
+#: ../albums.php:273
 #, php-format
 msgid "%s has detected that %d of your albums are out of date."
 msgstr ""
 
-#: ../albums.php:268
+#: ../albums.php:277
 #, php-format
 msgid "Please %s."
 msgstr ""
 
-#: ../albums.php:268
+#: ../albums.php:277
 msgid "upgrade those albums"
 msgstr ""
 
-#: ../albums.php:275
+#: ../albums.php:284
 msgid "Attention!"
 msgstr ""
 
-#: ../albums.php:277
+#: ../albums.php:286
 #, php-format
 msgid "The album or photo that you were attempting to view either does not exist, or requires user privileges that you do not possess. %s"
 msgstr ""
 
-#: ../albums.php:277
+#: ../albums.php:286
 #, php-format
 msgid "%s and try again."
 msgstr ""
 
-#: ../albums.php:278
+#: ../albums.php:287
 msgid "Log in"
 msgstr ""
 
-#: ../albums.php:292
+#: ../albums.php:301
 #, php-format
 msgid "The requested album with index %s is not valid"
 msgstr ""
 
-#: ../albums.php:333 ../view_album.php:690
+#: ../albums.php:342 ../view_album.php:712
 msgid "Highlight for Album:"
 msgstr ""
 
-#: ../albums.php:353 ../view_album.php:796
+#: ../albums.php:362 ../view_album.php:818
 msgid "Download entire album as archive"
 msgstr ""
 
-#: ../albums.php:388
+#: ../albums.php:397
 #, php-format
 msgid "Owner: %s"
 msgstr ""
 
-#: ../albums.php:396
+#: ../albums.php:405
 msgid "url:"
 msgstr ""
 
-#: ../albums.php:407
+#: ../albums.php:416
 msgid "Hey!"
 msgstr ""
 
-#: ../albums.php:408
+#: ../albums.php:417
 #, php-format
 msgid "%s so that the URL is not so generic!"
 msgstr ""
 
-#: ../albums.php:409
+#: ../albums.php:418
 msgid "Rename this album"
 msgstr ""
 
-#: ../albums.php:424
+#: ../albums.php:433
 #, php-format
 msgid "Created on %s, last changed on %s."
 msgstr ""
 
-#: ../albums.php:427
+#: ../albums.php:436
 #, php-format
 msgid "Last changed on %s."
 msgstr ""
 
-#: ../albums.php:436
+#: ../albums.php:445
 #, php-format
 msgid "This album contains 1 item."
 msgid_plural "This album contains %d items."
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../albums.php:445
+#: ../albums.php:454
 #, php-format
 msgid "This album has been viewed %s since %s."
 msgstr ""
 
-#: ../albums.php:446 ../view_album.php:831
+#: ../albums.php:455
+msgid "0 times"
+msgstr ""
+
+#: ../albums.php:455 ../view_album.php:855
 #, php-format
 msgid "1 time"
 msgid_plural "%d times"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../albums.php:446
-msgid "0 times"
-msgstr ""
-
-#: ../albums.php:452
+#: ../albums.php:461
 msgid "reset counter"
 msgstr ""
 
-#: ../albums.php:497 ../view_album.php:930
+#: ../albums.php:506 ../view_album.php:952
 msgid "Comments available for this item."
 msgstr ""
 
@@ -570,7 +570,7 @@
 msgstr ""
 
 #: ../captionator.php:191 ../imagemap.php:156 ../slideshow.php:183
-#: ../view_album.php:109 ../view_comments.php:54 ../view_photo.php:169
+#: ../view_album.php:115 ../view_comments.php:54 ../view_photo.php:171
 msgid "navigate UP"
 msgstr ""
 
@@ -597,7 +597,7 @@
 msgstr ""
 
 #: ../captionator.php:262 ../layout/commentboxtop.inc:20
-#: ../layout/commentboxtop.inc:45 ../view_album.php:784
+#: ../layout/commentboxtop.inc:45 ../view_album.php:806
 msgid "hidden"
 msgstr ""
 
@@ -946,7 +946,7 @@
 
 #: ../copy_photo.php:218 ../delete_photo.php:150 ../edit_thumb.php:131
 #: ../move_album.php:140 ../move_photo.php:358 ../resize_photo.php:147
-#: ../rotate_photo.php:130 ../view_photo_properties.php:130
+#: ../rotate_photo.php:129 ../view_photo_properties.php:130
 msgid "no album / index specified"
 msgstr ""
 
@@ -1007,7 +1007,7 @@
 msgstr ""
 
 #: ../delete_album.php:71 ../delete_photo.php:144 ../delete_user.php:80
-#: ../js/multifile.js.php:112 ../layout/commentbox.inc:15
+#: ../js/multifile.js.php:113 ../layout/commentbox.inc:15
 #: ../lib/albumItem.php:252 ../lib/albumItem.php:253 ../lib/albumItem.php:259
 #: ../lib/albumItem.php:260 ../manage_users.php:98
 #: ../tools/despam-comments.php:206 ../tools/despam-comments.php:345
@@ -1121,14 +1121,18 @@
 msgstr[1] ""
 
 #: ../download.php:70
+msgid "No subalbums"
+msgstr ""
+
+#: ../download.php:70
 #, php-format
 msgid "One subalbum"
 msgid_plural "%d subalbums"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../download.php:70
-msgid "No subalbums"
+#: ../download.php:71
+msgid "no photo/movie"
 msgstr ""
 
 #: ../download.php:71
@@ -1138,10 +1142,6 @@
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../download.php:71
-msgid "no photo/movie"
-msgstr ""
-
 #: ../download.php:73
 #, php-format
 msgid "%s and %s."
@@ -1149,7 +1149,7 @@
 
 #: ../download.php:76
 #, php-format
-msgid "Approximitaly size of zipfile: %s"
+msgid "Approximate size of zipfile: %s"
 msgstr ""
 
 #: ../download.php:80
@@ -1168,115 +1168,127 @@
 msgid "This album album is not empty, but contains no photo or movie! Download would'nt make sense."
 msgstr ""
 
-#: ../ecard_form.php:38
+#: ../ecard_form.php:41
 msgid "Send this photo as eCard"
 msgstr ""
 
-#: ../ecard_form.php:52
-msgid "Error processing e-card. Please try later."
+#: ../ecard_form.php:47
+msgid "Close Window."
+msgstr ""
+
+#: ../ecard_form.php:56
+msgid "You have an e-card as attachment. Click to see."
 msgstr ""
 
-#: ../ecard_form.php:53
+#: ../ecard_form.php:64
 msgid "Some input fields are not correctly filled out. Please fill out."
 msgstr ""
 
-#: ../ecard_form.php:54
-msgid "You have an e-card as attachment. Click to see."
+#: ../ecard_form.php:71
+msgid "The sender or recepient email adress is not valid."
 msgstr ""
 
-#: ../ecard_form.php:112
+#: ../ecard_form.php:81
+msgid "Couldn't load the ecard template. Please contact the Gallery admin!"
+msgstr ""
+
+#: ../ecard_form.php:92
+msgid "Problem with sending the eCard. Please contact the Gallery admin!"
+msgstr ""
+
+#: ../ecard_form.php:126
 msgid "Error: to send an eCard you need to fill out all fields."
 msgstr ""
 
-#: ../ecard_form.php:113
+#: ../ecard_form.php:127
 msgid "Please fill this fields:"
 msgstr ""
 
-#: ../ecard_form.php:117
+#: ../ecard_form.php:131
 msgid "- Your Name"
 msgstr ""
 
-#: ../ecard_form.php:123
+#: ../ecard_form.php:137
 msgid "- Your Email"
 msgstr ""
 
-#: ../ecard_form.php:128
+#: ../ecard_form.php:142
 msgid "- Recipient's Name"
 msgstr ""
 
-#: ../ecard_form.php:134
+#: ../ecard_form.php:148
 msgid "- Recipient's Email"
 msgstr ""
 
-#: ../ecard_form.php:139
+#: ../ecard_form.php:153
 msgid "- Your Message"
 msgstr ""
 
-#: ../ecard_form.php:143
+#: ../ecard_form.php:157
 msgid "Please fill all fields next click >Send<."
 msgstr ""
 
-#: ../ecard_form.php:156
+#: ../ecard_form.php:170
 #, php-format
 msgid "You have entered more than %d characters"
 msgstr ""
 
-#: ../ecard_form.php:188
+#: ../ecard_form.php:202
 msgid "Your info"
 msgstr ""
 
-#: ../ecard_form.php:190
+#: ../ecard_form.php:204
 msgid "Recipient's info"
 msgstr ""
 
-#: ../ecard_form.php:193 ../ecard_form.php:204
+#: ../ecard_form.php:207 ../ecard_form.php:221
 msgid "Name"
 msgstr ""
 
-#: ../ecard_form.php:208 ../ecard_form.php:211
+#: ../ecard_form.php:225 ../ecard_form.php:228
 msgid "E-Mail"
 msgstr ""
 
-#: ../ecard_form.php:217
+#: ../ecard_form.php:234
 msgid "Choose a Stamp"
 msgstr ""
 
-#: ../ecard_form.php:222
+#: ../ecard_form.php:239
 #, php-format
 msgid "Stamp #%d"
 msgstr ""
 
-#: ../ecard_form.php:232
+#: ../ecard_form.php:249
 msgid "Subject:"
 msgstr ""
 
-#: ../ecard_form.php:233
+#: ../ecard_form.php:250
 #, php-format
 msgid "%s sent you an E-C@rd"
 msgstr ""
 
-#: ../ecard_form.php:237
+#: ../ecard_form.php:254
 msgid "Your Message:"
 msgstr ""
 
-#: ../ecard_form.php:256 ../edit_watermark.php:120 ../watermark_album.php:151
+#: ../ecard_form.php:273 ../edit_watermark.php:120 ../watermark_album.php:151
 msgid "Preview"
 msgstr ""
 
-#: ../ecard_form.php:257
+#: ../ecard_form.php:274
 msgid "Reset"
 msgstr ""
 
-#: ../ecard_form.php:260
+#: ../ecard_form.php:277
 msgid "Send eCard"
 msgstr ""
 
-#: ../ecard_form.php:268
+#: ../ecard_form.php:286
 #, php-format
 msgid "Your E-C@rd with the picture below has been sent to %s &lt;%s&gt;."
 msgstr ""
 
-#: ../ecard_form.php:272
+#: ../ecard_form.php:290
 msgid "Close this window"
 msgstr ""
 
@@ -1332,7 +1344,7 @@
 msgstr ""
 
 #: ../edit_appearance.php:301 ../extra_fields.php:174
-#: ../poll_properties.php:142 ../rotate_photo.php:124
+#: ../poll_properties.php:142 ../rotate_photo.php:123
 msgid "Close"
 msgstr ""
 
@@ -1816,7 +1828,7 @@
 msgid "Supported file types: %s"
 msgstr ""
 
-#: ../includes/add_photos/add_form.inc:38 ../view_album.php:573
+#: ../includes/add_photos/add_form.inc:38 ../view_album.php:597
 msgid " or "
 msgstr ""
 
@@ -1956,7 +1968,7 @@
 msgstr ""
 
 #: ../includes/errors/unconfigured.php:25
-msgid "Create an empty file .htaccess and an empty file config.php"
+msgid "Create an empty file .htaccess and an empty file config.php in your Gallery folder."
 msgstr ""
 
 #: ../includes/errors/unconfigured.php:28
@@ -1964,7 +1976,7 @@
 msgstr ""
 
 #: ../includes/errors/unconfigured.php:29
-msgid "Create an albums folder for your pictures and movies."
+msgid "Create an albums folder for your pictures and movies. This folder can be anywhere in your webspace."
 msgstr ""
 
 #: ../includes/errors/unconfigured.php:32
@@ -1976,6 +1988,11 @@
 msgid "Then start the %sConfiguration Wizard%s."
 msgstr ""
 
+#: ../includes/errors/unconfigured.php:46
+#, php-format
+msgid "%sNote:%s When you get an 'error 500' when accessing the config wizard, try removing the .htaccess file the setup folder."
+msgstr ""
+
 #: ../includes/slideshow/applet.inc:28 ../includes/slideshow/high.inc:71
 #, php-format
 msgid "Slide Show for Gallery :: %s"
@@ -2090,7 +2107,7 @@
 msgstr ""
 
 #: ../includes/slideshow/high.inc:377 ../includes/slideshow/high.inc:472
-#: ../includes/slideshow/low.inc:207 ../includes/slideshow/low.inc:367
+#: ../includes/slideshow/low.inc:207 ../includes/slideshow/low.inc:366
 msgid "of"
 msgstr ""
 
@@ -2107,39 +2124,39 @@
 msgid "full size"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:502 ../includes/slideshow/low.inc:314
+#: ../includes/slideshow/high.inc:502 ../includes/slideshow/low.inc:313
 msgid "1 second"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:503 ../includes/slideshow/low.inc:315
+#: ../includes/slideshow/high.inc:503 ../includes/slideshow/low.inc:314
 msgid "2 seconds"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:504 ../includes/slideshow/low.inc:316
+#: ../includes/slideshow/high.inc:504 ../includes/slideshow/low.inc:315
 msgid "3 seconds"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:505 ../includes/slideshow/low.inc:317
+#: ../includes/slideshow/high.inc:505 ../includes/slideshow/low.inc:316
 msgid "5 seconds"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:506 ../includes/slideshow/low.inc:318
+#: ../includes/slideshow/high.inc:506 ../includes/slideshow/low.inc:317
 msgid "10 seconds"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:507 ../includes/slideshow/low.inc:319
+#: ../includes/slideshow/high.inc:507 ../includes/slideshow/low.inc:318
 msgid "15 seconds"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:508 ../includes/slideshow/low.inc:320
+#: ../includes/slideshow/high.inc:508 ../includes/slideshow/low.inc:319
 msgid "30 seconds"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:509 ../includes/slideshow/low.inc:321
+#: ../includes/slideshow/high.inc:509 ../includes/slideshow/low.inc:320
 msgid "45 seconds"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:510 ../includes/slideshow/low.inc:322
+#: ../includes/slideshow/high.inc:510 ../includes/slideshow/low.inc:321
 msgid "1 Minute"
 msgstr ""
 
@@ -2147,11 +2164,11 @@
 msgid "Transition:"
 msgstr ""
 
-#: ../includes/slideshow/high.inc:585 ../includes/slideshow/low.inc:378
+#: ../includes/slideshow/high.inc:581 ../includes/slideshow/low.inc:377
 msgid "This album has no photos to show in a slide show."
 msgstr ""
 
-#: ../includes/slideshow/high.inc:589 ../includes/slideshow/low.inc:382
+#: ../includes/slideshow/high.inc:585 ../includes/slideshow/low.inc:381
 msgid "back to album"
 msgstr ""
 
@@ -2299,7 +2316,7 @@
 msgid "Filter by day"
 msgstr ""
 
-#: ../js/multifile.js.php:149
+#: ../js/multifile.js.php:150
 msgid "Caption:"
 msgstr ""
 
@@ -2331,7 +2348,7 @@
 msgid "properties"
 msgstr ""
 
-#: ../layout/adminAlbumCommands.inc:41 ../view_album.php:415
+#: ../layout/adminAlbumCommands.inc:41 ../view_album.php:439
 msgid "view&nbsp;comments"
 msgstr ""
 
@@ -2554,7 +2571,7 @@
 msgid "Reset Counter"
 msgstr ""
 
-#: ../lib/albumItem.php:178 ../lib/albumItem.php:179 ../view_album.php:316
+#: ../lib/albumItem.php:178 ../lib/albumItem.php:179 ../view_album.php:337
 msgid "Permissions"
 msgstr ""
 
@@ -3018,11 +3035,11 @@
 msgid "Orientation of vote choices"
 msgstr ""
 
-#: ../poll_properties.php:108 ../rotate_photo.php:96
+#: ../poll_properties.php:108 ../rotate_photo.php:95
 msgid "Horizontal"
 msgstr ""
 
-#: ../poll_properties.php:108 ../rotate_photo.php:102
+#: ../poll_properties.php:108 ../rotate_photo.php:101
 msgid "Vertical"
 msgstr ""
 
@@ -3055,7 +3072,7 @@
 msgid "Results Breakdown"
 msgstr ""
 
-#: ../poll_results.php:148 ../view_album.php:507 ../view_album.php:800
+#: ../poll_results.php:148 ../view_album.php:531 ../view_album.php:822
 #, php-format
 msgid "Album: %s"
 msgstr ""
@@ -3331,11 +3348,11 @@
 msgid "Email could not be sent.  Please contact gallery administrator to register on this site"
 msgstr ""
 
-#: ../register.php:138
+#: ../register.php:139
 msgid "Your account information will be sent to the email address you provide."
 msgstr ""
 
-#: ../register.php:141
+#: ../register.php:143
 msgid "Send request"
 msgstr ""
 
@@ -3432,43 +3449,43 @@
 msgid "Change Size"
 msgstr ""
 
-#: ../rotate_photo.php:42 ../rotate_photo.php:49
+#: ../rotate_photo.php:42 ../rotate_photo.php:48
 msgid "Rotate/Flip Photo"
 msgstr ""
 
-#: ../rotate_photo.php:54
+#: ../rotate_photo.php:53
 msgid "Rotating/Flipping photo."
 msgstr ""
 
-#: ../rotate_photo.php:56 ../watermark_album.php:65
+#: ../rotate_photo.php:55 ../watermark_album.php:65
 msgid "(this may take a while)"
 msgstr ""
 
-#: ../rotate_photo.php:65
+#: ../rotate_photo.php:64
 msgid "Manipulate again?"
 msgstr ""
 
-#: ../rotate_photo.php:67
+#: ../rotate_photo.php:66
 msgid "How do you want to manipulate this photo?"
 msgstr ""
 
-#: ../rotate_photo.php:77
+#: ../rotate_photo.php:76
 msgid "Clockwise 90&deg;"
 msgstr ""
 
-#: ../rotate_photo.php:83
+#: ../rotate_photo.php:82
 msgid "180&deg;"
 msgstr ""
 
-#: ../rotate_photo.php:89
+#: ../rotate_photo.php:88
 msgid "Counter-Clockwise 90&deg;"
 msgstr ""
 
-#: ../rotate_photo.php:110
+#: ../rotate_photo.php:109
 msgid "Rotate"
 msgstr ""
 
-#: ../rotate_photo.php:114
+#: ../rotate_photo.php:113
 msgid "Flip"
 msgstr ""
 
@@ -3947,16 +3964,16 @@
 msgstr ""
 
 #: ../stats.php:1145
+msgid "Never viewed"
+msgstr ""
+
+#: ../stats.php:1145
 #, php-format
 msgid "Once"
 msgid_plural "%d times"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../stats.php:1145
-msgid "Never viewed"
-msgstr ""
-
 #: ../stats.php:1151
 msgid "Votes:"
 msgstr ""
@@ -3987,6 +4004,10 @@
 msgid "Deleted %d spam comments"
 msgstr ""
 
+#: ../tools/despam-comments.php:152
+msgid "No comment deleted."
+msgstr ""
+
 #: ../tools/despam-comments.php:151
 #, php-format
 msgid "Deleted %d spam comment."
@@ -3994,10 +4015,6 @@
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../tools/despam-comments.php:152
-msgid "No comment deleted."
-msgstr ""
-
 #: ../tools/despam-comments.php:196
 #, php-format
 msgid "Scanned %d albums, %d photos, %d comments in %2.2f seconds"
@@ -4534,211 +4551,211 @@
 msgid "We are trying to download the tempdir itself ?! Download aborted."
 msgstr ""
 
-#: ../view_album.php:214
+#: ../view_album.php:235
+msgid "No albums"
+msgstr ""
+
+#: ../view_album.php:235
 #, php-format
 msgid "1 sub-album"
 msgid_plural "%d sub-albums"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../view_album.php:214
-msgid "No albums"
-msgstr ""
-
-#: ../view_album.php:216
+#: ../view_album.php:237
 msgid "0 pages"
 msgstr ""
 
-#: ../view_album.php:219
+#: ../view_album.php:240
 #, php-format
 msgid "%s and %s in this album on %s"
 msgstr ""
 
-#: ../view_album.php:222
+#: ../view_album.php:243
 #, php-format
 msgid "%s and %s in this album"
 msgstr ""
 
-#: ../view_album.php:225
+#: ../view_album.php:246
 #, php-format
 msgid "%s in this album on %s"
 msgstr ""
 
-#: ../view_album.php:228
+#: ../view_album.php:249
 #, php-format
 msgid "%s in this album"
 msgstr ""
 
-#: ../view_album.php:235
+#: ../view_album.php:256
 #, php-format
 msgid "%s are hidden"
 msgstr ""
 
-#: ../view_album.php:237
+#: ../view_album.php:258
 #, php-format
 msgid "%s is hidden"
 msgstr ""
 
-#: ../view_album.php:247
+#: ../view_album.php:268
 msgid "Add photos"
 msgstr ""
 
-#: ../view_album.php:253
+#: ../view_album.php:274
 msgid "Delete this album"
 msgstr ""
 
-#: ../view_album.php:258
+#: ../view_album.php:279
 msgid "Delete this (sub)album"
 msgstr ""
 
-#: ../view_album.php:267
+#: ../view_album.php:288
 msgid "Rename album"
 msgstr ""
 
-#: ../view_album.php:274
+#: ../view_album.php:295
 msgid "New nested album"
 msgstr ""
 
-#: ../view_album.php:280
+#: ../view_album.php:301
 msgid "Edit captions"
 msgstr ""
 
-#: ../view_album.php:286
+#: ../view_album.php:307
 msgid "Sort items"
 msgstr ""
 
-#: ../view_album.php:292
+#: ../view_album.php:313
 msgid "Resize all"
 msgstr ""
 
-#: ../view_album.php:298
+#: ../view_album.php:319
 msgid "Rebuild thumbs"
 msgstr ""
 
-#: ../view_album.php:304
+#: ../view_album.php:325
 msgid "Properties"
 msgstr ""
 
-#: ../view_album.php:310
+#: ../view_album.php:331
 msgid "Rearrange items"
 msgstr ""
 
-#: ../view_album.php:322
+#: ../view_album.php:343
 msgid "Poll results"
 msgstr ""
 
-#: ../view_album.php:328
+#: ../view_album.php:349
 msgid "Poll reset"
 msgstr ""
 
-#: ../view_album.php:334
+#: ../view_album.php:355
 msgid "View comments"
 msgstr ""
 
-#: ../view_album.php:340
+#: ../view_album.php:361
 msgid "Watermark album"
 msgstr ""
 
-#: ../view_album.php:398
+#: ../view_album.php:422
 msgid "Album Actions"
 msgstr ""
 
-#: ../view_album.php:491
+#: ../view_album.php:515
 msgid "Your votes are :"
 msgstr ""
 
-#: ../view_album.php:539
+#: ../view_album.php:563
 msgid "[ See full poll results ]"
 msgstr ""
 
-#: ../view_album.php:571
+#: ../view_album.php:595
 msgid ", "
 msgstr ""
 
-#: ../view_album.php:577
+#: ../view_album.php:601
 #, php-format
 msgid "To vote for an image, click on %s."
 msgstr ""
 
-#: ../view_album.php:579
+#: ../view_album.php:603
 #, php-format
 msgid "You MUST click on %s for your vote to be recorded."
 msgstr ""
 
-#: ../view_album.php:579 ../view_album.php:596 ../view_album.php:936
+#: ../view_album.php:603 ../view_album.php:620 ../view_album.php:958
 msgid "Vote"
 msgstr ""
 
-#: ../view_album.php:584
+#: ../view_album.php:608
 #, php-format
 msgid "You have a total of %d vote and can change it later if you wish."
 msgid_plural "You have a total of %d votes and can change them later if you wish."
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../view_album.php:588
+#: ../view_album.php:612
 msgid "You can change your votes later, if you wish."
 msgstr ""
 
-#: ../view_album.php:741 ../view_album.php:742
+#: ../view_album.php:763 ../view_album.php:764
 #, php-format
 msgid "%dkB"
 msgstr ""
 
-#: ../view_album.php:789
+#: ../view_album.php:811
 msgid "highlight"
 msgstr ""
 
-#: ../view_album.php:804
+#: ../view_album.php:826
 msgid "No description"
 msgstr ""
 
-#: ../view_album.php:812
+#: ../view_album.php:834
 #, php-format
 msgid "Last change: %s"
 msgstr ""
 
-#: ../view_album.php:815
+#: ../view_album.php:838
 #, php-format
-msgid "Contains: %s"
+msgid "Contains: %s."
 msgstr ""
 
-#: ../view_album.php:815
+#: ../view_album.php:838
 #, php-format
 msgid "1 item"
 msgid_plural "%d items"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../view_album.php:831
+#: ../view_album.php:855
 #, php-format
 msgid "Viewed: %s"
 msgstr ""
 
-#: ../view_album.php:856
+#: ../view_album.php:880
 #, php-format
 msgid "Viewed: 1 time."
 msgid_plural "Viewed: %d times."
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../view_album.php:914
+#: ../view_album.php:936
 msgid "Hey! Add some photos."
 msgstr ""
 
-#: ../view_album.php:916
+#: ../view_album.php:938
 msgid "This album is empty."
 msgstr ""
 
-#: ../view_album.php:961
+#: ../view_album.php:983
 msgid "Email me when one of the following actions are done to this album:"
 msgstr ""
 
-#: ../view_album.php:966
+#: ../view_album.php:988
 msgid "Comments are added"
 msgstr ""
 
-#: ../view_album.php:969
+#: ../view_album.php:991
 msgid "Other changes are made"
 msgstr ""
 
@@ -4759,40 +4776,40 @@
 msgid "Sorry.  This album does not allow comments."
 msgstr ""
 
-#: ../view_photo.php:315
+#: ../view_photo.php:334
 msgid "photo properties"
 msgstr ""
 
-#: ../view_photo.php:399
+#: ../view_photo.php:418
 msgid "Send photo to..."
 msgstr ""
 
-#: ../view_photo.php:401
+#: ../view_photo.php:420
 msgid "Print photo with..."
 msgstr ""
 
-#: ../view_photo.php:437
+#: ../view_photo.php:456
 #, php-format
 msgid "process this photo with %s"
 msgstr ""
 
-#: ../view_photo.php:480
+#: ../view_photo.php:499
 msgid "View Images:"
 msgstr ""
 
-#: ../view_photo.php:481
+#: ../view_photo.php:500
 msgid "normal"
 msgstr ""
 
-#: ../view_photo.php:482
+#: ../view_photo.php:501
 msgid "full"
 msgstr ""
 
-#: ../view_photo.php:500
+#: ../view_photo.php:519
 msgid "Send Photo as eCard"
 msgstr ""
 
-#: ../view_photo.php:725
+#: ../view_photo.php:744
 msgid "Email me when comments are added"
 msgstr ""
 
diff -Naur gallery-1.5.4/register.php gallery-1.5.5/register.php
--- gallery-1.5.4/register.php	2006-03-27 17:32:14.000000000 +0200
+++ gallery-1.5.5/register.php	2006-09-04 18:54:53.000000000 +0200
@@ -19,7 +19,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: register.php 13338 2006-03-27 15:32:14Z jenst $
+ * $Id: register.php 14459 2006-09-04 16:54:53Z jenst $
  */
 ?>
 <?php
@@ -34,17 +34,17 @@
 ?>
 <html>
 <head>
-  <title><?php echo sprintf(_("Register new user for '%s'"), $gallery->app->galleryTitle) ?></title>
+  <title><?php printf(gTranslate('core', "Register new user for '%s'"), $gallery->app->galleryTitle) ?></title>
   <?php common_header(); ?>
 </head>
 <body dir="<?php echo $gallery->direction ?>" class="popupbody">
-<div class="popuphead"><?php echo sprintf(_("Register new user for '%s'"), $gallery->app->galleryTitle) ?></div>
-  <div class="popup" align="center">
+<div class="popuphead"><?php echo sprintf(gTranslate('core', "Register new user for '%s'"), $gallery->app->galleryTitle) ?></div>
+  <div class="popup">
 <?php if ($gallery->app->selfReg != 'yes' || $gallery->app->emailOn == 'no') { ?>
 	<p>
-	<?php echo _("This Gallery does not support self-registration by visitors.") ?>
+	<?php echo gTranslate('core', "This Gallery does not support self-registration by visitors.") ?>
 	<br><br>
-	<form> <input type="button" value="<?php echo _("Dismiss") ?>" onclick='parent.close()'> </form>
+	<form> <input type="button" value="<?php echo gTranslate('core', "Dismiss") ?>" onclick='parent.close()'> </form>
   </div>
 </body>
 </html>
@@ -59,14 +59,14 @@
 $allowChange['email'] = true;
 $allowChange['default_language'] = true;
 $allowChange['create_albums'] = false;
-$allowChange["send_email"] = false;
-$allowChange["member_file"] = false;
+$allowChange['send_email'] = false;
+$allowChange['member_file'] = false;
 
 $errorCount = 0;
 if (!empty($formaction) && $formaction == 'create') {
 	// Security check.
         if($fullname != strip_tags($fullname)) {
-            $gErrors["fullname"] = _("Your fullname containes invalid data!");
+            $gErrors["fullname"] = gTranslate('core', "Your fullname containes invalid data!");
             $errorCount++;
         }
 
@@ -77,12 +77,12 @@
 	}
 
 	if (empty($fullname) || !strcmp($fullname, '')) {
-		$gErrors['fullname'] = _("You must specify a name.");
+		$gErrors['fullname'] = gTranslate('core', "You must specify a name.");
 		$errorCount++;
 	}
 
 	if (!check_email($email)) {
-		$gErrors['email'] = _("You must specify a valid email address.");
+		$gErrors['email'] = gTranslate('core', "You must specify a valid email address.");
 		$errorCount++;
 	}
 
@@ -104,24 +104,25 @@
 	       ereg_replace("!!NEWPASSWORDLINK!!",
 	       $tmpUser->genRecoverPasswordHash(),
 	        welcome_email()))));
-	    $logmsg = sprintf(_("%s has registered.  Email has been sent to %s."), $uname, $email);
+	    $logmsg = sprintf(gTranslate('core', "%s has registered.  Email has been sent to %s."), $uname, $email);
 	    $logmsg2  = sprintf("%s has registered.  Email has been sent to %s.", $uname, $email);
 	    if ($logmsg != $logmsg2) {
 	        $logmsg .= " <<<<>>>>> $logmsg2";
 	    }
 
-	    if (gallery_mail($email, _("Gallery Self Registration"),$msg, $logmsg)) {
+	    if (gallery_mail($email, gTranslate('core', "Gallery Self Registration"),$msg, $logmsg)) {
 	        $tmpUser->save();
-	        echo "<p>".sprintf(_("An email has been sent to %s."), $email);
+	        echo "<p>".sprintf(gTranslate('core', "An email has been sent to %s."), $email);
 	        echo '<br>';
-	        echo _("Your account information is contained within the email.");
+	        echo gTranslate('core', "Your account information is contained within the email.");
 	    } else {
-	        echo gallery_error(_("Email could not be sent.  Please contact gallery administrator to register on this site"));
+	        echo gallery_error(gTranslate('core', "Email could not be sent.  Please contact gallery administrator to register on this site"));
 	    }
 ?>
-		<br><br>
-		<form> <input type="button" value="<?php echo _("Dismiss") ?>" onclick='parent.close()'> </form>
+		<center>
+		<input type="button" value="<?php echo gTranslate('core', "Dismiss") ?>" onclick='parent.close()'>
 		</center>
+		</div>
 		</body>
 		</html>
 <?php
@@ -135,11 +136,13 @@
 include(dirname(__FILE__) . '/html/userData.inc');
 ?>
 <p>
-<?php echo _("Your account information will be sent to the email address you provide.") ?>
-<br><br>
+<?php echo gTranslate('core', "Your account information will be sent to the email address you provide.") ?>
+<br>
+<center>
 <input type="hidden" name="formaction" value="">
-<input type="submit" name="create" value="<?php echo _("Send request") ?>" onclick="usercreate_form.formaction.value ='create'">
-<input type="submit" name="cancel" value="<?php echo _("Cancel") ?>" onclick='parent.close()'>
+<input type="submit" name="create" value="<?php echo gTranslate('core', "Send request") ?>" onclick="usercreate_form.formaction.value ='create'">
+<input type="submit" name="cancel" value="<?php echo gTranslate('core', "Cancel") ?>" onclick='parent.close()'>
+</center>
 </form>
 <script language="javascript1.2" type="text/JavaScript">
 <!--
diff -Naur gallery-1.5.4/rotate_photo.php gallery-1.5.5/rotate_photo.php
--- gallery-1.5.4/rotate_photo.php	2006-04-04 23:58:25.000000000 +0200
+++ gallery-1.5.5/rotate_photo.php	2006-11-12 10:05:55.000000000 +0100
@@ -17,7 +17,7 @@
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 *
-* $Id: rotate_photo.php 13361 2006-04-04 21:58:25Z jenst $
+* $Id: rotate_photo.php 15163 2006-11-12 09:05:55Z jenst $
 */
 ?>
 <?php
@@ -45,7 +45,6 @@
   <META HTTP-EQUIV="expires" CONTENT="0"> 
 </head>
 <body dir="<?php echo $gallery->direction ?>" class="g-popup">
-<body dir="<?php echo $gallery->direction ?>" class="popupbody">
   <div class="popuphead"><?php echo _("Rotate/Flip Photo") ?></div>
 <div class="popup" align="center">
 <?php
@@ -96,7 +95,7 @@
       getIconText('imageedit/mirror.gif', _("Horizontal"))
     );
 
-    $args["rotate"] = "fl";
+    $args["rotate"] = "fv";
     $rotateElements[] = galleryLink(
       makeGalleryUrl("rotate_photo.php", $args),
       getIconText('imageedit/flip.gif', _("Vertical"))
diff -Naur gallery-1.5.4/setup/check_versions.php gallery-1.5.5/setup/check_versions.php
--- gallery-1.5.4/setup/check_versions.php	2006-05-02 11:59:13.000000000 +0200
+++ gallery-1.5.5/setup/check_versions.php	2006-11-12 10:19:06.000000000 +0100
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: check_versions.php 13579 2006-05-02 09:59:13Z jenst $
+ * $Id: check_versions.php 15164 2006-11-12 09:19:06Z jenst $
  */
 ?>
 <?php 
@@ -42,7 +42,7 @@
 <div class="sitedesc"><?php
 	echo sprintf(_("This page gives you information about the version of each necessary %s file. "),Gallery());
 	echo "\n<br>";
-	echo _("If you see any error(s), we highly suggest to get the actual version of that file(s).");
+	echo _("If you see any error(s), we highly suggest to get the actual version of those files.");
 ?></div>
 <br>
 <?php
diff -Naur gallery-1.5.4/setup/config_data.inc gallery-1.5.5/setup/config_data.inc
--- gallery-1.5.4/setup/config_data.inc	2006-08-14 09:41:08.000000000 +0200
+++ gallery-1.5.5/setup/config_data.inc	2006-09-09 21:13:40.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: config_data.inc 14310 2006-08-14 07:41:08Z jenst $
+ * $Id: config_data.inc 14491 2006-09-09 19:13:40Z jenst $
  */
 ?>
 <?php
@@ -315,9 +315,11 @@
 	'albumDir' => array(
 		'prompt' => gTranslate('config',"Album directory"),
 		'desc' => '(<span class="attention">' . gTranslate('config',"REQUIRED") . '</span>) ' .
-		  sprintf(gTranslate('config',"The full path on physical disk to the directory where your photos will be stored.  This directory should start off empty.  Gallery will fill it.  Note that this directory needs to have write access by the user who is running the web server (in your case this user is %s)."),
-		  '<b>'. $webserver_user . '</b>'),
-		'value' => getenv('DOCUMENT_ROOT') . '/albums',
+		  sprintf(gTranslate('config',"The full filesystem path on physical disk to the directory where your photos will be stored.  This directory should start off empty.  Gallery will fill it.  Note that this directory needs to have write access by the user who is running the web server (in your case this user is %s)."),
+		  '<b>'. $webserver_user . '</b>') .
+		  "\<br>" . _("Examples: "). '<i>/home/jens/public_html/albums</i> , <i>c:\\apache\\albums</i>'
+		  ,
+		'value' => '',
 		'require-write-dir' => 1,
 		'filename' => 1,
 		'type' => 'text',
diff -Naur gallery-1.5.4/setup/constants.inc gallery-1.5.5/setup/constants.inc
--- gallery-1.5.4/setup/constants.inc	2006-08-15 14:14:12.000000000 +0200
+++ gallery-1.5.5/setup/constants.inc	2006-09-02 11:15:27.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: constants.inc 14327 2006-08-15 12:14:12Z jenst $
+ * $Id: constants.inc 14442 2006-09-02 09:15:27Z jenst $
  */
 ?>
 <?php
diff -Naur gallery-1.5.4/setup/defaults.inc gallery-1.5.5/setup/defaults.inc
--- gallery-1.5.4/setup/defaults.inc	2006-08-15 14:14:12.000000000 +0200
+++ gallery-1.5.5/setup/defaults.inc	2006-09-02 11:15:27.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: defaults.inc 14327 2006-08-15 12:14:12Z jenst $
+ * $Id: defaults.inc 14442 2006-09-02 09:15:27Z jenst $
  */
 ?>
 <input type="hidden" name="this_page" value="defaults">
diff -Naur gallery-1.5.4/skins/bblue/css/screen.css gallery-1.5.5/skins/bblue/css/screen.css
--- gallery-1.5.4/skins/bblue/css/screen.css	2005-09-24 13:43:55.000000000 +0200
+++ gallery-1.5.5/skins/bblue/css/screen.css	2006-09-04 18:54:53.000000000 +0200
@@ -429,7 +429,6 @@
 
 .popup /* controls the main text and message body */
 	 {
-	   text-align:center;
 	   font-size: 12px;
 	   font-weight: normal;
 	   color: #202020;
diff -Naur gallery-1.5.4/util.php gallery-1.5.5/util.php
--- gallery-1.5.4/util.php	2006-08-14 09:49:09.000000000 +0200
+++ gallery-1.5.5/util.php	2006-10-10 14:41:57.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: util.php 14311 2006-08-14 07:49:09Z jenst $
+ * $Id: util.php 14746 2006-10-10 12:41:57Z jenst $
  */
 
 /**
@@ -42,12 +42,12 @@
             return null;
         }
         $ret = & $_REQUEST[$str];
-        //echo "\n<br>- Checking:". htmlspecialchars($str);
-        $ret = sanitizeInput($ret);
 
-        if (get_magic_quotes_gpc() && !is_array($ret)) {
-            $ret = stripslashes($ret);
+        if (get_magic_quotes_gpc()) {
+            $ret = stripslashes_deep($ret);
         }
+        //echo "\n<br>- Checking:". htmlspecialchars($str);
+        $ret = sanitizeInput($ret);
     }
     else {
         foreach ($str as $reqvar) {
@@ -1682,12 +1682,12 @@
     $imagePath = $gallery->album->getAbsolutePhotoPath($ecard['photoIndex'], false);
     $photo = $gallery->album->getPhoto($ecard['photoIndex']);
     if($preview) {
-	$imageName = $gallery->album->getPhotoPath($ecard['photoIndex'], false);
-	$stampName = getImagePath('ecard_images/'. $ecard['stamp'] .'.gif');
+        $imageName = $gallery->album->getPhotoPath($ecard['photoIndex'], false);
+        $stampName = getImagePath('ecard_images/'. $ecard['stamp'] .'.gif');
     }
     else {
-	$imageName = $photo->getImageName(false);
-	$stampName = $ecard['stamp'] .'.gif';
+        $imageName = $photo->getImageName(false);
+        $stampName = $ecard['stamp'] .'.gif';
     }
 
     list ($width, $height) = getDimensions($imagePath);
@@ -1703,7 +1703,7 @@
     $ecard_data = preg_replace ("/<%ecard_width%>/", $widthReplace, $ecard_data);
 
     return $ecard_data;
-  }
+}
 
   function send_ecard($ecard,$ecard_HTML_data,$ecard_PLAIN_data) {
       global $gallery;
diff -Naur gallery-1.5.4/Version.php gallery-1.5.5/Version.php
--- gallery-1.5.4/Version.php	2006-08-14 10:33:59.000000000 +0200
+++ gallery-1.5.5/Version.php	2006-11-12 18:29:56.000000000 +0100
@@ -17,19 +17,19 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: Version.php 14315 2006-08-14 08:33:59Z jenst $
+ * $Id: Version.php 15169 2006-11-12 17:29:56Z ckdake $
  */
 ?>
 <?php
 
-$gallery->version = '1.5.4';
+$gallery->version = '1.5.5';
 $gallery->config_version = 96;
 $gallery->album_version = 37;
 $gallery->user_version = 6;
 $gallery->url = "http://gallery.sourceforge.net";
 
 /* do not edit the date!! modified by SVN */
-$gallery->last_change = strtotime(substr('$Date: 2006-08-14 10:33:59 +0200 (Mon, 14 Aug 2006) $', 7, -20));
+$gallery->last_change = strtotime(substr('$Date: 2006-11-12 12:29:56 -0500 (Sun, 12 Nov 2006) $', 7, -20));
 /*
  * PostNuke version info
  */
diff -Naur gallery-1.5.4/view_album.php gallery-1.5.5/view_album.php
--- gallery-1.5.4/view_album.php	2006-08-14 09:49:09.000000000 +0200
+++ gallery-1.5.5/view_album.php	2006-09-11 01:54:55.000000000 +0200
@@ -17,7 +17,7 @@
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
 *
-* $Id: view_album.php 14311 2006-08-14 07:49:09Z jenst $
+* $Id: view_album.php 14503 2006-09-10 23:54:55Z jenst $
 */
 ?>
 <?php
@@ -27,7 +27,9 @@
 list($page,$votes, $Vote) = getRequestVar(array('page', 'votes', 'Vote'));
 
 // Hack check and prevent errors
-if (empty($gallery->session->albumName) || !$gallery->user->canReadAlbum($gallery->album) || !$gallery->album->isLoaded()) {
+if (empty($gallery->session->albumName) ||
+    !$gallery->user->canReadAlbum($gallery->album)
+    || !$gallery->album->isLoaded()) {
     $gallery->session->gRedirDone = false;
     header("Location: " . makeAlbumHeaderUrl('', '', array('gRedir' => 1)));
     return;
@@ -48,14 +50,18 @@
 
 $albumName = $gallery->session->albumName;
 
-if (!isset($gallery->session->viewedAlbum[$albumName]) && !$gallery->session->offline) {
+$noCount = getRequestVar('noCount');
+if ($noCount != 1 && !isset($gallery->session->viewedAlbum[$albumName])
+    && !$gallery->session->offline) {
     $gallery->session->viewedAlbum[$albumName] = 1;
     $gallery->album->incrementClicks();
 }
 
 $rows = $gallery->album->fields["rows"];
 $cols = $gallery->album->fields["cols"];
+
 list ($numPhotos, $numAlbums, $visibleItems) = $gallery->album->numVisibleItems($gallery->user, 1);
+
 $numVisibleItems = $numPhotos + $numAlbums;
 $perPage = $rows * $cols;
 $maxPages = max(ceil(($numPhotos + $numAlbums) / $perPage), 1);
@@ -105,9 +111,8 @@
 $navigator["bordercolor"] = $bordercolor;
 
 $fullWidth = $navigator["fullWidth"] . $navigator["widthUnits"];
-$upArrowURL = '<img src="' . getImagePath('nav_home.gif') . '" width="13" height="11" ' .
-  'alt="' . gTranslate('core', "navigate UP") .'" title="' . gTranslate('core', "navigate UP") .'" border="0">';
 
+$upArrowURL = gImage('nav_home.gif', gTranslate('core', "navigate UP"));
 if ($gallery->album->fields['returnto'] != 'no') {
     foreach ($gallery->album->getParentAlbums() as $navAlbum) {
         $breadcrumb["text"][] = $navAlbum['prefixText'] .': <a class="bread" href="'. $navAlbum['url'] . '">'.
@@ -119,28 +124,44 @@
 
 global $GALLERY_EMBEDDED_INSIDE;
 if (!$GALLERY_EMBEDDED_INSIDE) {
+    $title = sprintf(
+        htmlspecialchars($gallery->app->galleryTitle) .
+        " :: " .
+        htmlspecialchars($gallery->album->fields["title"])
+    );
+
     doctype();
 ?>
 <html>
 <head>
-  <title><?php echo $gallery->app->galleryTitle ?> :: <?php echo $gallery->album->fields["title"] ?></title>
+  <title><?php echo $title ?></title>
   <?php common_header();
   /* RSS */
   if ($gallery->app->rssEnabled == "yes" && !$gallery->session->offline) {
-  	$title = sprintf(gTranslate('core', "%s RSS"), $gallery->app->galleryTitle . " :: " . $gallery->album->fields["title"]);
+  	$rssTitle = sprintf(gTranslate('core', "%s RSS"), $title);
 	$rssHref = $gallery->app->photoAlbumURL . "/rss.php?set_albumName=" . $gallery->album->fields["name"];
-  	?>
-  <link rel="alternate" title="<?php echo $title; ?>" href="<?php echo $rssHref; ?>" type="application/rss+xml">
-  <?php
+
+	echo "<link rel=\"alternate\" title=\"$rssTitle\" href=\"$rssHref\" type=\"application/rss+xml\">";
   }
   /* prefetching/navigation */
+    $firstUrl  = makeAlbumUrl($gallery->session->albumName, '',
+                    array('page' => 1, 'noCount' => 1));
+	$prevUrl   = makeAlbumUrl($gallery->session->albumName, '',
+	               array('page' => $previousPage, 'noCount' => 1));
+	$nextUrl   = makeAlbumUrl($gallery->session->albumName, '',
+	               array('page' => $nextPage, 'noCount' => 1));
+	$lastUrl   = makeAlbumUrl($gallery->session->albumName, '',
+	               array('page' => $maxPages, 'noCount' => 1));
+	$upUrl     = makeAlbumUrl($gallery->album->fields['parentAlbumName'], '',
+	               array('page' => $maxPages, 'noCount' => 1));
+
   if (!isset($first)) { ?>
-  <link rel="first" href="<?php echo makeAlbumUrl($gallery->session->albumName, '', array('page' => 1)) ?>" >
-  <link rel="prev" href="<?php echo makeAlbumUrl($gallery->session->albumName, '', array('page' => $previousPage)) ?>" >
+  <link rel="first" href="<?php echo $firstUrl; ?>" >
+  <link rel="prev" href="<?php echo $prevUrl; ?>" >
 <?php }
   if (!isset($last)) { ?>
-  <link rel="next" href="<?php echo makeAlbumUrl($gallery->session->albumName, '', array('page' => $nextPage)) ?>" >
-  <link rel="last" href="<?php echo makeAlbumUrl($gallery->session->albumName, '', array('page' => $maxPages)) ?>" >
+  <link rel="next" href="<?php echo $nextUrl; ?>" >
+  <link rel="last" href="<?php echo $lastUrl; ?>" >
 <?php } if ($gallery->album->isRoot() &&
 (!$gallery->session->offline ||
 	 isset($gallery->session->offlineAlbums["albums.php"]))) { ?>
@@ -148,7 +169,7 @@
 <?php
 	 } else if (!$gallery->session->offline ||
 	 isset($gallery->session->offlineAlbums[$pAlbum->fields['parentAlbumName']])) { ?>
-  <link rel="up" href="<?php echo makeAlbumUrl($gallery->album->fields['parentAlbumName']); ?>" >
+  <link rel="up" href="<?php echo $upUrl; ?>" >
 <?php }
 if (!$gallery->session->offline ||
 	 isset($gallery->session->offlineAlbums["albums.php"])) { ?>
@@ -373,6 +394,9 @@
 
 $adminCommands = '';
 $adminJSFrame = '';
+
+$iconElements = array();
+
 /* build up drop-down menu and related javascript */
 if (!empty($adminOptionHTML)) {
     $adminJSFrame .= "<script language=\"javascript1.2\" type=\"text/JavaScript\">\n"
@@ -629,8 +653,6 @@
             $visibleItemIndex++;
             $i = $visibleItemIndex <= $numVisibleItems ? $visibleItems[$visibleItemIndex] : $numPhotos+1;
         }
-        if ($printTableRow) {
-        }
 
         /* Do the picture row */
         $visibleItemIndex = $rowStart;
@@ -811,8 +833,10 @@
             	echo '<div class="fineprint" style="margin-top:3px">';
             	printf (gTranslate('core', "Last change: %s"), $myAlbum->getLastModificationDate());
             	echo "\n<br>";
+
             	$visItems = array_sum($myAlbum->numVisibleItems($gallery->user));
-            	printf (gTranslate('core', "Contains: %s"), gTranslate('core', "1 item", "%d items", $visItems)) . '. ';
+            	printf(gTranslate('core', "Contains: %s."), gTranslate('core', "1 item", "%d items", $visItems));
+
             	// If comments indication for either albums or both
             	switch ($gallery->app->comments_indication) {
             		case "albums":
@@ -893,15 +917,13 @@
         $visibleItemIndex = $rowStart;
         $i = $visibleItemIndex <= $numVisibleItems ? $visibleItems[$visibleItemIndex] : $numPhotos+1;
         $j = 1;
-        if ($printTableRow) {
-        }
+
         while ($j <= $cols && $i <= $numPhotos) {
             $j++;
             $visibleItemIndex++;
             $i = $visibleItemIndex<=$numVisibleItems ? $visibleItems[$visibleItemIndex] : $numPhotos+1;
         }
-        if ($printTableRow) {
-        }
+
         $rowCount++;
         $rowStart = $visibleItemIndex;
     }
diff -Naur gallery-1.5.4/view_photo.php gallery-1.5.5/view_photo.php
--- gallery-1.5.4/view_photo.php	2006-08-14 09:49:09.000000000 +0200
+++ gallery-1.5.5/view_photo.php	2006-09-29 13:21:00.000000000 +0200
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA.
  *
- * $Id: view_photo.php 14311 2006-08-14 07:49:09Z jenst $
+ * $Id: view_photo.php 14619 2006-09-29 11:21:00Z jenst $
  */
 ?>
 <?php
@@ -89,7 +89,9 @@
 }
 
 $albumName = $gallery->session->albumName;
-if (!isset($gallery->session->viewedItem[$gallery->session->albumName][$id]) &&
+$noCount = getRequestVar('noCount');
+
+if ($noCount != 1 && !isset($gallery->session->viewedItem[$gallery->session->albumName][$id]) &&
   !$gallery->session->offline) {
     $gallery->session->viewedItem[$albumName][$id] = 1;
     $gallery->album->incrementItemClicks($index);
@@ -108,7 +110,7 @@
 
 $do_fullOnly = isset($gallery->session->fullOnly) &&
     !strcmp($gallery->session->fullOnly,"on") &&
-    strcmp($gallery->album->fields["use_fullOnly"],"yes");
+    !strcmp($gallery->album->fields["use_fullOnly"],"yes");
 
 if ($do_fullOnly) {
     $full = $gallery->user->canViewFullImages($gallery->album);
@@ -222,31 +224,48 @@
   /* prefetch/navigation */
   $navcount = sizeof($navigator['allIds']);
   $navpage = $navcount - 1;
+
+  $firstUrl  = makeAlbumUrl($gallery->session->albumName, $navigator['allIds'][0],
+                            array('noCount' => 1));
+
+  $lastUrl   = makeAlbumUrl($gallery->session->albumName, $navigator['allIds'][$navcount - 1],
+                            array('noCount' => 1));
+  $upUrl     = makeAlbumUrl($gallery->session->albumName, '', array('noCount' => 1));
+
   while ($navpage > 0) {
       if (!strcmp($navigator['allIds'][$navpage], $id)) {
           break;
       }
       $navpage--;
   }
+
   if ($navigator['allIds'][0] != $id) {
       if ($navigator['allIds'][0] != 'unknown') {
-          echo "\n  ". '<link rel="first" href="'. makeAlbumUrl($gallery->session->albumName, $navigator['allIds'][0]) .'">';
+          echo "\n  ". '<link rel="first" href="'. $firstUrl .'">';
       }
 
       if ($navigator['allIds'][$navpage-1] != 'unknown') {
-          echo "\n  ". '<link rel="prev" href="'. makeAlbumUrl($gallery->session->albumName, $navigator['allIds'][$navpage-1]) .'">';
+          $prevUrl   = makeAlbumUrl($gallery->session->albumName, $navigator['allIds'][$navpage-1],
+                            array('noCount' => 1));
+
+          echo "\n  ". '<link rel="prev" href="'. $prevUrl .'">';
       }
   }
+
   if ($navigator['allIds'][$navcount - 1] != $id) {
       if ($navigator['allIds'][$navpage+1] != 'unknown') {
-          echo "\n  ". '<link rel="next" href="'. makeAlbumUrl($gallery->session->albumName, $navigator['allIds'][$navpage+1]) .'">';
+          $nextUrl   = makeAlbumUrl($gallery->session->albumName, $navigator['allIds'][$navpage+1],
+                            array('noCount' => 1));
+
+          echo "\n  ". '<link rel="next" href="'. $nextUrl .'">';
       }
       if ($navigator['allIds'][$navcount-1] != 'unknown') {
-          echo "\n  ". '<link rel="last" href="'. makeAlbumUrl($gallery->session->albumName, $navigator['allIds'][$navcount - 1]) .'">';
+          echo "\n  ". '<link rel="last" href="'. $lastUrl .'">';
       }
   }
 
-  echo "\n  ". '<link rel="up" href="' . makeAlbumUrl($gallery->session->albumName) .'">';
+  echo "\n  ". '<link rel="up" href="' . $upUrl .'">';
+
   if ($gallery->album->isRoot() &&
   (!$gallery->session->offline || isset($gallery->session->offlineAlbums["albums.php"]))) {
       echo "\n  ". '<link rel="top" href="'. makeGalleryUrl('albums.php', array('set_albumListPage' => 1)) .'">';
